@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/index.js 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.0
6
+ * Version: v2.1.1
7
7
  */
8
8
 
9
9
  'use strict';
@@ -11048,8 +11048,10 @@ var SlotGroup = /*#__PURE__*/ function() {
11048
11048
  * @internal
11049
11049
  * @param renderer
11050
11050
  */ _proto.render = function render(renderer) {
11051
+ var worldMatrix = this.transform.getWorldMatrix();
11051
11052
  this.meshGroups.forEach(function(spineMesh) {
11052
11053
  var mesh = spineMesh.mesh;
11054
+ mesh.worldMatrix = worldMatrix;
11053
11055
  mesh.render(renderer);
11054
11056
  });
11055
11057
  };
@@ -11514,7 +11516,7 @@ EFFECTS.registerPlugin("spine", /*#__PURE__*/ function(AbstractPlugin) {
11514
11516
  }(EFFECTS.AbstractPlugin), EFFECTS.VFXItem);
11515
11517
  /**
11516
11518
  * 插件版本号
11517
- */ var version = "2.1.0";
11519
+ */ var version = "2.1.1";
11518
11520
  EFFECTS.logger.info("Plugin spine version: " + version + ".");
11519
11521
  if (version !== EFFECTS__namespace.version) {
11520
11522
  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!");