mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
This commit is contained in:
parent
7c285d6a3a
commit
d525e42479
@ -164,6 +164,7 @@ void Skin::addSkin(Skin *other) {
|
|||||||
AttachmentMap::Entries entries = other->getAttachments();
|
AttachmentMap::Entries entries = other->getAttachments();
|
||||||
while (entries.hasNext()) {
|
while (entries.hasNext()) {
|
||||||
AttachmentMap::Entry &entry = entries.next();
|
AttachmentMap::Entry &entry = entries.next();
|
||||||
|
entry._attachment->reference();
|
||||||
setAttachment(entry._slotIndex, entry._name, entry._attachment);
|
setAttachment(entry._slotIndex, entry._name, entry._attachment);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user