mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 15:24:55 +08:00
[as3] Fixed SkeletonSprite, should not process slots with inactive bones.
This commit is contained in:
parent
900085d26f
commit
8cd53746ad
Binary file not shown.
@ -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;
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user