@galacean/engine 1.0.2 → 1.0.4

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/.DS_Store ADDED
Binary file
package/dist/browser.js CHANGED
@@ -17987,7 +17987,8 @@
17987
17987
  url = key ? "" + url + (url.indexOf("?") > -1 ? "&" : "?") + "q=" + key : url;
17988
17988
  promise = this.load({
17989
17989
  url: url,
17990
- type: this._editorResourceConfig[refId].type
17990
+ type: this._editorResourceConfig[refId].type,
17991
+ params: this._editorResourceConfig[refId].params
17991
17992
  });
17992
17993
  }
17993
17994
  return promise.then(function(item) {
@@ -36026,9 +36027,7 @@
36026
36027
  mipmap: samplerInfo == null ? void 0 : samplerInfo.mipmap
36027
36028
  }
36028
36029
  }).then(function(texture) {
36029
- if (!texture.name) {
36030
- texture.name = textureName || imageName || "texture_" + index1;
36031
- }
36030
+ texture.name = textureName || imageName || texture.name || "texture_" + index1;
36032
36031
  if (sampler !== undefined) {
36033
36032
  _this._parseSampler(texture, samplerInfo);
36034
36033
  }
@@ -38650,7 +38649,7 @@
38650
38649
  ], GALACEAN_animation_event);
38651
38650
 
38652
38651
  //@ts-ignore
38653
- var version = "1.0.2";
38652
+ var version = "1.0.4";
38654
38653
  console.log("Galacean engine version: " + version);
38655
38654
  for(var key in CoreObjects){
38656
38655
  Loader.registerClass(key, CoreObjects[key]);