mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
[as3] Ported active bone check in SkeletonBounds. See #1378.
This commit is contained in:
parent
c1b4b7ea7d
commit
f2fa37dbe0
Binary file not shown.
@ -50,6 +50,7 @@ package spine {
|
||||
|
||||
for (var i : int = 0; i < slotCount; i++) {
|
||||
var slot : Slot = slots[i];
|
||||
if (!slot.bone.active) continue;
|
||||
var boundingBox : BoundingBoxAttachment = slot.attachment as BoundingBoxAttachment;
|
||||
if (boundingBox == null) continue;
|
||||
boundingBoxes[boundingBoxes.length] = boundingBox;
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user