@galacean/engine-loader 1.3.29 → 1.3.30
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 +2 -2
- package/dist/main.js.map +1 -1
- package/dist/miniprogram.js +2 -2
- package/dist/module.js +2 -2
- package/dist/module.js.map +1 -1
- package/package.json +4 -4
package/dist/miniprogram.js
CHANGED
|
@@ -468,13 +468,13 @@ exports.Texture2DDecoder = /*#__PURE__*/ function() {
|
|
|
468
468
|
_this._loadImageBuffer(imagesData[i]).then(function(img) {
|
|
469
469
|
texture2D.setImageSource(img, i);
|
|
470
470
|
onComplete();
|
|
471
|
-
}, reject);
|
|
471
|
+
}, reject).catch(reject);
|
|
472
472
|
};
|
|
473
473
|
texture2D.generateMipmaps();
|
|
474
474
|
for(var i = 1; i < mipCount; i++)_loop(i);
|
|
475
475
|
}
|
|
476
476
|
onComplete();
|
|
477
|
-
}, reject);
|
|
477
|
+
}, reject).catch(reject);
|
|
478
478
|
}
|
|
479
479
|
});
|
|
480
480
|
};
|
package/dist/module.js
CHANGED
|
@@ -463,13 +463,13 @@ var Texture2DDecoder = /*#__PURE__*/ function() {
|
|
|
463
463
|
_this._loadImageBuffer(imagesData[i]).then(function(img) {
|
|
464
464
|
texture2D.setImageSource(img, i);
|
|
465
465
|
onComplete();
|
|
466
|
-
}, reject);
|
|
466
|
+
}, reject).catch(reject);
|
|
467
467
|
};
|
|
468
468
|
texture2D.generateMipmaps();
|
|
469
469
|
for(var i = 1; i < mipCount; i++)_loop(i);
|
|
470
470
|
}
|
|
471
471
|
onComplete();
|
|
472
|
-
}, reject);
|
|
472
|
+
}, reject).catch(reject);
|
|
473
473
|
}
|
|
474
474
|
});
|
|
475
475
|
};
|