@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.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.0.0
|
|
6
|
+
* Version: v2.0.0
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import * as EFFECTS from '@galacean/effects';
|
|
@@ -12088,8 +12088,7 @@ var LoaderImpl = /*#__PURE__*/ function() {
|
|
|
12088
12088
|
_proto.loadScene = function loadScene(options) {
|
|
12089
12089
|
var _this = this;
|
|
12090
12090
|
return _async_to_generator(function() {
|
|
12091
|
-
var _this_components, _this_components1, _this_components2,
|
|
12092
|
-
_this_items, gltfResource, gltfScene, component, clips, index;
|
|
12091
|
+
var _this_components, _this_components1, _this_components2, _this_items, gltfResource, gltfScene, component, clips, index;
|
|
12093
12092
|
return __generator(this, function(_state) {
|
|
12094
12093
|
switch(_state.label){
|
|
12095
12094
|
case 0:
|
|
@@ -13780,7 +13779,7 @@ var GLTFHelper = /*#__PURE__*/ function() {
|
|
|
13780
13779
|
|
|
13781
13780
|
registerPlugin("tree", ModelTreePlugin, VFXItem, true);
|
|
13782
13781
|
registerPlugin("model", ModelPlugin, VFXItem);
|
|
13783
|
-
var version = "2.0.0
|
|
13782
|
+
var version = "2.0.0";
|
|
13784
13783
|
logger.info("Plugin model version: " + version + ".");
|
|
13785
13784
|
if (version !== EFFECTS.version) {
|
|
13786
13785
|
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!");
|