@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.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';
@@ -10362,6 +10362,7 @@ var JSONConverter = /*#__PURE__*/ function() {
10362
10362
  item.type = "ECS";
10363
10363
  }
10364
10364
  });
10365
+ //@ts-expect-error
10365
10366
  newScene.compositions[0].items = newScene.items.map(function(item) {
10366
10367
  return {
10367
10368
  id: item.id
@@ -11528,6 +11529,7 @@ var LoaderImpl = /*#__PURE__*/ function() {
11528
11529
  ],
11529
11530
  clipMode: spec.CameraClipMode.portrait
11530
11531
  },
11532
+ //@ts-expect-error
11531
11533
  items: [],
11532
11534
  timelineAsset: {
11533
11535
  id: this.timelineAssetId
@@ -11974,6 +11976,7 @@ var LoaderImpl = /*#__PURE__*/ function() {
11974
11976
  id: item.id
11975
11977
  });
11976
11978
  });
11979
+ //@ts-expect-error
11977
11980
  this.composition.items = itemIds;
11978
11981
  var jsonScene = {
11979
11982
  version: spec.JSONSceneVersion["3_0"],
@@ -13197,7 +13200,7 @@ var GLTFHelper = /*#__PURE__*/ function() {
13197
13200
  registerPlugin("model", ModelPlugin, VFXItem);
13198
13201
  /**
13199
13202
  * 插件版本号
13200
- */ var version = "2.7.0-alpha.0";
13203
+ */ var version = "2.7.0-alpha.2";
13201
13204
  logger.info("Plugin model version: " + version + ".");
13202
13205
  if (version !== EFFECTS.version) {
13203
13206
  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!");