@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 CHANGED
@@ -467,13 +467,13 @@ exports.Texture2DDecoder = /*#__PURE__*/ function() {
467
467
  _this._loadImageBuffer(imagesData[i]).then(function(img) {
468
468
  texture2D.setImageSource(img, i);
469
469
  onComplete();
470
- }, reject);
470
+ }, reject).catch(reject);
471
471
  };
472
472
  texture2D.generateMipmaps();
473
473
  for(var i = 1; i < mipCount; i++)_loop(i);
474
474
  }
475
475
  onComplete();
476
- }, reject);
476
+ }, reject).catch(reject);
477
477
  }
478
478
  });
479
479
  };