[as3] Fixed SkeletonSprite, should not process slots with inactive bones.

This commit is contained in:
badlogic 2019-06-05 14:51:34 +02:00
parent 900085d26f
commit 8cd53746ad
4 changed files with 1 additions and 0 deletions

View File

@ -91,6 +91,7 @@ package spine.flash {
var drawOrder : Vector.<Slot> = skeleton.drawOrder;
for (var i : int = 0, n : int = drawOrder.length; i < n; i++) {
var slot : Slot = drawOrder[i];
if (!slot.bone.active) continue;
var regionAttachment : RegionAttachment = slot.attachment as RegionAttachment;
if (!regionAttachment) continue;