浏览代码

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

badlogic 6 年之前
父节点
当前提交
9ff708615d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      spine-csharp/src/SkeletonBounds.cs

+ 1 - 0
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);