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

This commit is contained in:
badlogic 2019-06-11 15:33:31 +02:00
parent d790429cd1
commit 9ff708615d

View File

@ -74,6 +74,7 @@ namespace Spine {
for (int i = 0; i < slotCount; i++) {
Slot slot = slots.Items[i];
if (!slot.bone.active) continue;
BoundingBoxAttachment boundingBox = slot.attachment as BoundingBoxAttachment;
if (boundingBox == null) continue;
boundingBoxes.Add(boundingBox);