[as3] Ported active bone check in SkeletonBounds. See #1378.

This commit is contained in:
badlogic 2019-06-11 15:29:42 +02:00
parent c1b4b7ea7d
commit f2fa37dbe0
4 changed files with 1 additions and 0 deletions

View File

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