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

This commit is contained in:
aram-ahak 2017-07-12 12:55:40 +04:00 committed by Mario Zechner
parent 4f0708deb0
commit 1843dccfe8

View File

@ -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;
}