mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +08:00
[cpp] Fix incorrectly referencing attachment when adding skin to another skin.
This commit is contained in:
parent
2b5bedd543
commit
0fac0504ac
@ -164,7 +164,6 @@ void Skin::addSkin(Skin *other) {
|
||||
AttachmentMap::Entries entries = other->getAttachments();
|
||||
while (entries.hasNext()) {
|
||||
AttachmentMap::Entry &entry = entries.next();
|
||||
entry._attachment->reference();
|
||||
setAttachment(entry._slotIndex, entry._name, entry._attachment);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user