mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +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];
|
||||
if (slot->getAttachmentState() == setupState) {
|
||||
const String &attachmentName = slot->getData().getAttachmentName();
|
||||
slot->setAttachment(attachmentName.isEmpty() ? NULL : skeleton.getAttachment(slot->getData().getIndex(),
|
||||
attachmentName));
|
||||
slot->setAttachment(attachmentName.isEmpty() ? NULL : skeleton.getAttachment(slot->getData().getIndex(), attachmentName));
|
||||
}
|
||||
}
|
||||
_unkeyedState += 2;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user