Nate escribió
Gah, sorry my reading comprehension has failed me. 😃 I see you are using a folder tag with a skin tag in it. It's not a bug, it's just the way the script works that the skin folder is at the root. I think your proposal makes sense, so we've made the changes in script v5.2. As always, you can get the latest here: http://esotericsoftware.com/spine-scripts/PhotoshopToSpine.jsx
Sorry for the super late reply to your late reply, Nate :lol:
We basically edited line 281 of the script as follows:
var placeholderName = layer.attachmentName, attachmentName = placeholderName, attachmentPath = layer.attachmentPath;
if (skinName != "default") {
attachmentName = attachmentName;
attachmentPath = attachmentPath;
}
So all you need to do is using double tags like this:
and the script will no longer consider any skin folder as the root by default, but will follow a user-defined/tag-based structure.
I will update Script version then, and check what you guys did 🙂
Thanks for investigating this, and until next time!