@galacean/effects-plugin-model 2.9.0-alpha.2 → 2.9.1-beta.0

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/index.mjs CHANGED
@@ -3,7 +3,7 @@
3
3
  * Description: Galacean Effects player model plugin
4
4
  * Author: Ant Group CO., Ltd.
5
5
  * Contributors: 飂兮
6
- * Version: v2.9.0-alpha.2
6
+ * Version: v2.9.1-beta.0
7
7
  */
8
8
 
9
9
  import * as EFFECTS from '@galacean/effects';
@@ -9337,7 +9337,8 @@ var EffectsMeshProxy = /*#__PURE__*/ function() {
9337
9337
  var item = new VFXItem(composition.engine, props);
9338
9338
  composition.addItem(item);
9339
9339
  var modelPluginComponent = item.addComponent(ModelPluginComponent);
9340
- modelPluginComponent.sceneParams = scene.storage;
9340
+ var _scene_storage;
9341
+ modelPluginComponent.sceneParams = (_scene_storage = scene == null ? void 0 : scene.storage) != null ? _scene_storage : {};
9341
9342
  };
9342
9343
  return ModelPlugin;
9343
9344
  }(_wrap_native_super(Plugin));
@@ -13191,7 +13192,7 @@ var GLTFHelper = /*#__PURE__*/ function() {
13191
13192
  registerPlugin("model", ModelPlugin);
13192
13193
  /**
13193
13194
  * 插件版本号
13194
- */ var version = "2.9.0-alpha.2";
13195
+ */ var version = "2.9.1-beta.0";
13195
13196
  logger.info("Plugin model version: " + version + ".");
13196
13197
  if (version !== EFFECTS.version) {
13197
13198
  console.error("注意:请统一 Model 插件与 Player 版本,不统一的版本混用会有不可预知的后果!", "\nAttention: Please ensure the Model plugin is synchronized with the Player version. Mixing and matching incompatible versions may result in unpredictable consequences!");