mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[cpp] Fix formatting.
This commit is contained in:
parent
a518dea2ba
commit
ec93dbac89
@ -497,8 +497,7 @@ bool AnimationState::apply(Skeleton &skeleton) {
|
|||||||
Slot *slot = slots[i];
|
Slot *slot = slots[i];
|
||||||
if (slot->getAttachmentState() == setupState) {
|
if (slot->getAttachmentState() == setupState) {
|
||||||
const String &attachmentName = slot->getData().getAttachmentName();
|
const String &attachmentName = slot->getData().getAttachmentName();
|
||||||
slot->setAttachment(attachmentName.isEmpty() ? NULL : skeleton.getAttachment(slot->getData().getIndex(),
|
slot->setAttachment(attachmentName.isEmpty() ? NULL : skeleton.getAttachment(slot->getData().getIndex(), attachmentName));
|
||||||
attachmentName));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_unkeyedState += 2;
|
_unkeyedState += 2;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user