@galacean/engine-loader 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +1 -3
- package/dist/main.js.map +1 -1
- package/dist/miniprogram.js +1 -3
- package/dist/module.js +1 -3
- package/dist/module.js.map +1 -1
- package/package.json +5 -5
- package/types/gltf/GLTFUtil.d.ts +3 -3
- package/types/ktx2/transcoder/BinomialLLCTranscoder.d.ts +1 -1
- package/types/ktx2/transcoder/BinomialLLCWorkerCode.d.ts +4 -0
package/dist/miniprogram.js
CHANGED
|
@@ -2324,9 +2324,7 @@ var GLTFTextureParser = /*#__PURE__*/ function(GLTFParser) {
|
|
|
2324
2324
|
mipmap: samplerInfo == null ? void 0 : samplerInfo.mipmap
|
|
2325
2325
|
}
|
|
2326
2326
|
}).then(function(texture) {
|
|
2327
|
-
|
|
2328
|
-
texture.name = textureName || imageName || "texture_" + index1;
|
|
2329
|
-
}
|
|
2327
|
+
texture.name = textureName || imageName || texture.name || "texture_" + index1;
|
|
2330
2328
|
if (sampler !== undefined) {
|
|
2331
2329
|
_this._parseSampler(texture, samplerInfo);
|
|
2332
2330
|
}
|
package/dist/module.js
CHANGED
|
@@ -2319,9 +2319,7 @@ var GLTFTextureParser = /*#__PURE__*/ function(GLTFParser) {
|
|
|
2319
2319
|
mipmap: samplerInfo == null ? void 0 : samplerInfo.mipmap
|
|
2320
2320
|
}
|
|
2321
2321
|
}).then(function(texture) {
|
|
2322
|
-
|
|
2323
|
-
texture.name = textureName || imageName || "texture_" + index1;
|
|
2324
|
-
}
|
|
2322
|
+
texture.name = textureName || imageName || texture.name || "texture_" + index1;
|
|
2325
2323
|
if (sampler !== undefined) {
|
|
2326
2324
|
_this._parseSampler(texture, samplerInfo);
|
|
2327
2325
|
}
|