Sfoglia il codice sorgente

bug fix ( skeleton not initialized when _parent is not null) (#930)

aram-ahak 8 anni fa
parent
commit
1843dccfe8
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      spine-as3/spine-as3/src/spine/Bone.as

+ 1 - 1
spine-as3/spine-as3/src/spine/Bone.as

@@ -192,7 +192,7 @@ package spine {
 					this.b = za * lb + zb * ld;
 					this.c = zc * la + zd * lc;
 					this.d = zc * lb + zd * ld;
-					if (this.data.transformMode != TransformMode.noScaleOrReflection ? pa * pd - pb * pc < 0 : skeleton.flipX != skeleton.flipY) {
+					if (this.data.transformMode != TransformMode.noScaleOrReflection ? pa * pd - pb * pc < 0 : this.skeleton.flipX != this.skeleton.flipY) {
 						this.b = -this.b;
 						this.d = -this.d;
 					}