mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 09:16:01 +08:00
[c] Fixed sorting of path constraints when slot attachment is null.
This commit is contained in:
parent
2a37edd8a6
commit
9f569fef3b
@ -269,7 +269,7 @@ static void _sortPathConstraint(_spSkeleton* const internal, spPathConstraint* c
|
||||
_sortPathConstraintAttachment(internal, skeleton->data->skins[i], slotIndex, slotBone);
|
||||
|
||||
attachment = slot->attachment;
|
||||
if (attachment->type == SP_ATTACHMENT_PATH) _sortPathConstraintAttachmentBones(internal, attachment, slotBone);
|
||||
if (attachment && attachment->type == SP_ATTACHMENT_PATH) _sortPathConstraintAttachmentBones(internal, attachment, slotBone);
|
||||
|
||||
constrained = constraint->bones;
|
||||
boneCount = constraint->bonesCount;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user