[unity] Fixed an exception at SkeletonUtilityBone when using skin bones. Closes #1464.

This commit is contained in:
Harald Csaszar 2019-09-04 17:19:24 +02:00
parent 6b84079a08
commit 4c1e01474e

View File

@ -119,6 +119,7 @@ namespace Spine.Unity {
return; return;
} }
} }
if (!bone.Active) return;
var thisTransform = cachedTransform; var thisTransform = cachedTransform;
float skeletonFlipRotation = Mathf.Sign(skeleton.ScaleX * skeleton.ScaleY); float skeletonFlipRotation = Mathf.Sign(skeleton.ScaleX * skeleton.ScaleY);