@galacean/effects-plugin-spine 2.1.0 → 2.1.1
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 +3 -1
- package/dist/alipay.js.map +1 -1
- package/dist/alipay.mjs +3 -1
- package/dist/alipay.mjs.map +1 -1
- package/dist/douyin.js +3 -1
- package/dist/douyin.js.map +1 -1
- package/dist/douyin.mjs +3 -1
- package/dist/douyin.mjs.map +1 -1
- package/dist/index.js +4 -2
- 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 -2
- package/dist/index.mjs.map +1 -1
- package/dist/weapp.js +3 -1
- package/dist/weapp.js.map +1 -1
- package/dist/weapp.mjs +3 -1
- package/dist/weapp.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Description: Galacean Effects player spine plugin
|
|
4
4
|
* Author: Ant Group CO., Ltd.
|
|
5
5
|
* Contributors: 十弦
|
|
6
|
-
* Version: v2.1.
|
|
6
|
+
* Version: v2.1.1
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import * as EFFECTS from '@galacean/effects';
|
|
@@ -11025,8 +11025,10 @@ var SlotGroup = /*#__PURE__*/ function() {
|
|
|
11025
11025
|
* @internal
|
|
11026
11026
|
* @param renderer
|
|
11027
11027
|
*/ _proto.render = function render(renderer) {
|
|
11028
|
+
var worldMatrix = this.transform.getWorldMatrix();
|
|
11028
11029
|
this.meshGroups.forEach(function(spineMesh) {
|
|
11029
11030
|
var mesh = spineMesh.mesh;
|
|
11031
|
+
mesh.worldMatrix = worldMatrix;
|
|
11030
11032
|
mesh.render(renderer);
|
|
11031
11033
|
});
|
|
11032
11034
|
};
|
|
@@ -11491,7 +11493,7 @@ registerPlugin("spine", /*#__PURE__*/ function(AbstractPlugin) {
|
|
|
11491
11493
|
}(AbstractPlugin), VFXItem);
|
|
11492
11494
|
/**
|
|
11493
11495
|
* 插件版本号
|
|
11494
|
-
*/ var version = "2.1.
|
|
11496
|
+
*/ var version = "2.1.1";
|
|
11495
11497
|
logger.info("Plugin spine version: " + version + ".");
|
|
11496
11498
|
if (version !== EFFECTS.version) {
|
|
11497
11499
|
console.error("注意:请统一 Spine 插件与 Player 版本,不统一的版本混用会有不可预知的后果!", "\nAttention: Please ensure the Spine plugin is synchronized with the Player version. Mixing and matching incompatible versions may result in unpredictable consequences!");
|