@esotericsoftware/spine-canvaskit 4.2.66 → 4.2.67

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.
@@ -7873,6 +7873,19 @@ var spine = (() => {
7873
7873
  updateCache[i].update(physics);
7874
7874
  }
7875
7875
  updateWorldTransformWith(physics, parent) {
7876
+ if (!parent)
7877
+ throw new Error("parent cannot be null.");
7878
+ let bones = this.bones;
7879
+ for (let i = 1, n = bones.length; i < n; i++) {
7880
+ let bone = bones[i];
7881
+ bone.ax = bone.x;
7882
+ bone.ay = bone.y;
7883
+ bone.arotation = bone.rotation;
7884
+ bone.ascaleX = bone.scaleX;
7885
+ bone.ascaleY = bone.scaleY;
7886
+ bone.ashearX = bone.shearX;
7887
+ bone.ashearY = bone.shearY;
7888
+ }
7876
7889
  let rootBone = this.getRootBone();
7877
7890
  if (!rootBone)
7878
7891
  throw new Error("Root bone must not be null.");