@galacean/effects-plugin-model 2.0.0-beta.1 → 2.0.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 +2 -3
- package/dist/alipay.js.map +1 -1
- package/dist/alipay.mjs +2 -3
- package/dist/alipay.mjs.map +1 -1
- package/dist/douyin.js +2 -3
- package/dist/douyin.js.map +1 -1
- package/dist/douyin.mjs +2 -3
- package/dist/douyin.mjs.map +1 -1
- package/dist/index.js +3 -4
- 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 +3 -4
- package/dist/index.mjs.map +1 -1
- package/dist/loader.mjs +3 -4
- package/dist/loader.mjs.map +1 -1
- package/dist/weapp.js +2 -3
- package/dist/weapp.js.map +1 -1
- package/dist/weapp.mjs +2 -3
- package/dist/weapp.mjs.map +1 -1
- package/package.json +5 -5
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.0.0
|
|
6
|
+
* Version: v2.0.0
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
'use strict';
|
|
@@ -12111,8 +12111,7 @@ var LoaderImpl = /*#__PURE__*/ function() {
|
|
|
12111
12111
|
_proto.loadScene = function loadScene(options) {
|
|
12112
12112
|
var _this = this;
|
|
12113
12113
|
return _async_to_generator(function() {
|
|
12114
|
-
var _this_components, _this_components1, _this_components2,
|
|
12115
|
-
_this_items, gltfResource, gltfScene, component, clips, index;
|
|
12114
|
+
var _this_components, _this_components1, _this_components2, _this_items, gltfResource, gltfScene, component, clips, index;
|
|
12116
12115
|
return __generator(this, function(_state) {
|
|
12117
12116
|
switch(_state.label){
|
|
12118
12117
|
case 0:
|
|
@@ -13803,7 +13802,7 @@ var GLTFHelper = /*#__PURE__*/ function() {
|
|
|
13803
13802
|
|
|
13804
13803
|
EFFECTS.registerPlugin("tree", ModelTreePlugin, EFFECTS.VFXItem, true);
|
|
13805
13804
|
EFFECTS.registerPlugin("model", ModelPlugin, EFFECTS.VFXItem);
|
|
13806
|
-
var version = "2.0.0
|
|
13805
|
+
var version = "2.0.0";
|
|
13807
13806
|
EFFECTS.logger.info("Plugin model version: " + version + ".");
|
|
13808
13807
|
if (version !== EFFECTS__namespace.version) {
|
|
13809
13808
|
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!");
|