mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 16:48:43 +08:00
[libgdx] Don't include inactive bones when computing SkeletonBounds.
This commit is contained in:
parent
ca3916dad8
commit
b473b8afb4
@ -64,6 +64,7 @@ public class SkeletonBounds {
|
||||
|
||||
for (int i = 0; i < slotCount; i++) {
|
||||
Slot slot = slots.get(i);
|
||||
if (!slot.bone.active) continue;
|
||||
Attachment attachment = slot.attachment;
|
||||
if (attachment instanceof BoundingBoxAttachment) {
|
||||
BoundingBoxAttachment boundingBox = (BoundingBoxAttachment)attachment;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user