From 9ff708615d597f4be0dc019c50f720fb946d0847 Mon Sep 17 00:00:00 2001 From: badlogic Date: Tue, 11 Jun 2019 15:33:31 +0200 Subject: [PATCH] [csharp] Ported active bone check in SkeletonBounds. See #1378. --- spine-csharp/src/SkeletonBounds.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/spine-csharp/src/SkeletonBounds.cs b/spine-csharp/src/SkeletonBounds.cs index ecab399b2..53b7f5571 100644 --- a/spine-csharp/src/SkeletonBounds.cs +++ b/spine-csharp/src/SkeletonBounds.cs @@ -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);