@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/index.js 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
  'use strict';
@@ -10385,6 +10385,7 @@ var JSONConverter = /*#__PURE__*/ function() {
10385
10385
  item.type = "ECS";
10386
10386
  }
10387
10387
  });
10388
+ //@ts-expect-error
10388
10389
  newScene.compositions[0].items = newScene.items.map(function(item) {
10389
10390
  return {
10390
10391
  id: item.id
@@ -11551,6 +11552,7 @@ var LoaderImpl = /*#__PURE__*/ function() {
11551
11552
  ],
11552
11553
  clipMode: EFFECTS.spec.CameraClipMode.portrait
11553
11554
  },
11555
+ //@ts-expect-error
11554
11556
  items: [],
11555
11557
  timelineAsset: {
11556
11558
  id: this.timelineAssetId
@@ -11997,6 +11999,7 @@ var LoaderImpl = /*#__PURE__*/ function() {
11997
11999
  id: item.id
11998
12000
  });
11999
12001
  });
12002
+ //@ts-expect-error
12000
12003
  this.composition.items = itemIds;
12001
12004
  var jsonScene = {
12002
12005
  version: EFFECTS.spec.JSONSceneVersion["3_0"],
@@ -13220,7 +13223,7 @@ var GLTFHelper = /*#__PURE__*/ function() {
13220
13223
  EFFECTS.registerPlugin("model", ModelPlugin, EFFECTS.VFXItem);
13221
13224
  /**
13222
13225
  * 插件版本号
13223
- */ var version = "2.7.0-alpha.0";
13226
+ */ var version = "2.7.0-alpha.2";
13224
13227
  EFFECTS.logger.info("Plugin model version: " + version + ".");
13225
13228
  if (version !== EFFECTS__namespace.version) {
13226
13229
  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!");