@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/alipay.js +1 -1
- package/dist/alipay.js.map +1 -1
- package/dist/alipay.mjs +1 -1
- package/dist/alipay.mjs.map +1 -1
- package/dist/douyin.js +1 -1
- package/dist/douyin.js.map +1 -1
- package/dist/douyin.mjs +1 -1
- package/dist/douyin.mjs.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +2 -2
- package/dist/index.min.js.map +1 -1
- package/dist/index.mjs +4 -3
- package/dist/index.mjs.map +1 -1
- package/dist/loader.mjs +4 -3
- package/dist/loader.mjs.map +1 -1
- package/dist/plugin/model-plugin.d.ts +1 -1
- package/dist/plugin/model-tree-component.d.ts +6 -3
- package/dist/weapp.js +1 -1
- package/dist/weapp.js.map +1 -1
- package/dist/weapp.mjs +1 -1
- package/dist/weapp.mjs.map +1 -1
- package/package.json +4 -4
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.9.
|
|
6
|
+
* Version: v2.9.1-beta.0
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
'use strict';
|
|
@@ -9360,7 +9360,8 @@ var EffectsMeshProxy = /*#__PURE__*/ function() {
|
|
|
9360
9360
|
var item = new EFFECTS.VFXItem(composition.engine, props);
|
|
9361
9361
|
composition.addItem(item);
|
|
9362
9362
|
var modelPluginComponent = item.addComponent(exports.ModelPluginComponent);
|
|
9363
|
-
|
|
9363
|
+
var _scene_storage;
|
|
9364
|
+
modelPluginComponent.sceneParams = (_scene_storage = scene == null ? void 0 : scene.storage) != null ? _scene_storage : {};
|
|
9364
9365
|
};
|
|
9365
9366
|
return ModelPlugin;
|
|
9366
9367
|
}(_wrap_native_super(EFFECTS.Plugin));
|
|
@@ -13214,7 +13215,7 @@ var GLTFHelper = /*#__PURE__*/ function() {
|
|
|
13214
13215
|
EFFECTS.registerPlugin("model", ModelPlugin);
|
|
13215
13216
|
/**
|
|
13216
13217
|
* 插件版本号
|
|
13217
|
-
*/ var version = "2.9.
|
|
13218
|
+
*/ var version = "2.9.1-beta.0";
|
|
13218
13219
|
EFFECTS.logger.info("Plugin model version: " + version + ".");
|
|
13219
13220
|
if (version !== EFFECTS__namespace.version) {
|
|
13220
13221
|
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!");
|