@galacean/effects-plugin-model 2.7.0-alpha.0 → 2.7.0-alpha.2

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/loader.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.7.0-alpha.0
6
+ * Version: v2.7.0-alpha.2
7
7
  */
8
8
 
9
9
  import * as EFFECTS from '@galacean/effects';
@@ -2096,7 +2096,7 @@ var CameraGestureHandlerImp = /*#__PURE__*/ function() {
2096
2096
  registerPlugin("model", ModelPlugin, VFXItem);
2097
2097
  /**
2098
2098
  * 插件版本号
2099
- */ var version = "2.7.0-alpha.0";
2099
+ */ var version = "2.7.0-alpha.2";
2100
2100
  logger.info("Plugin model version: " + version + ".");
2101
2101
  if (version !== EFFECTS.version) {
2102
2102
  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!");
@@ -8896,6 +8896,7 @@ var JSONConverter = /*#__PURE__*/ function() {
8896
8896
  item.type = "ECS";
8897
8897
  }
8898
8898
  });
8899
+ //@ts-expect-error
8899
8900
  newScene.compositions[0].items = newScene.items.map(function(item) {
8900
8901
  return {
8901
8902
  id: item.id
@@ -10062,6 +10063,7 @@ var LoaderImpl = /*#__PURE__*/ function() {
10062
10063
  ],
10063
10064
  clipMode: spec.CameraClipMode.portrait
10064
10065
  },
10066
+ //@ts-expect-error
10065
10067
  items: [],
10066
10068
  timelineAsset: {
10067
10069
  id: this.timelineAssetId
@@ -10508,6 +10510,7 @@ var LoaderImpl = /*#__PURE__*/ function() {
10508
10510
  id: item.id
10509
10511
  });
10510
10512
  });
10513
+ //@ts-expect-error
10511
10514
  this.composition.items = itemIds;
10512
10515
  var jsonScene = {
10513
10516
  version: spec.JSONSceneVersion["3_0"],