diff --git a/spine-cpp/spine-cpp/src/spine/Skin.cpp b/spine-cpp/spine-cpp/src/spine/Skin.cpp index ea4114c23..01dcbb2d9 100644 --- a/spine-cpp/spine-cpp/src/spine/Skin.cpp +++ b/spine-cpp/spine-cpp/src/spine/Skin.cpp @@ -164,6 +164,7 @@ 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); } } diff --git a/spine-godot/.idea/tools/External Tools.xml b/spine-godot/.idea/tools/External Tools.xml index 01aef4873..6c49dcd9a 100644 --- a/spine-godot/.idea/tools/External Tools.xml +++ b/spine-godot/.idea/tools/External Tools.xml @@ -2,7 +2,7 @@ diff --git a/spine-godot/.idea/workspace.xml b/spine-godot/.idea/workspace.xml index a9d4a1289..cee7376da 100644 --- a/spine-godot/.idea/workspace.xml +++ b/spine-godot/.idea/workspace.xml @@ -91,7 +91,7 @@