spineappletree

Hi,

Today I'm deepdiving in using skins to fully grasp it to use it in future projects. Now I'm stumbling upon a thing I don't quite know how to do and/or why it happens:

I'm practising and documenting for myself the work flow for converting a rig to a skinned rig. For this I'm having two skins and all attachments in place without placeholder.

When I now filter and select all attachments in the Tree, use 'New Skin Placeholder' and choose both 'Duplicate attachment for each skin' and than 'Rename attachments' (as I have the skinned images in sub folders), all skins attachments get renamed perfectly, except for the currently selected skin.
Whatever I try the currently selected skin never gets its attachments renamed for using subfolders for the skin.

I don't like to have skinned images in the root images folder so I am trying to figure out why this is happening and how to also rename the attachments of the selected skin too instead.

When I add a dummy skin, just for the conversion of attachments/images to skinned attachments (named 'dummy'), and select that skin before adding the placeholders to all attachments everything works 'as expected', because now I get prefixed attachments on all other skins so the dummy skin did its work and I can delete that skin afterwards. But although this method works as workaround, it doesn't feel as intended behaviour and is not very time efficient.

[edit] Unfortunately this doesn't work with linked meshes though as when the dummy skin gets removed, so are the meshes :tear:

I also tried adding the placeholders without any skin selected in hopes all skins get renamed attachments. But when no skin is selected the 'New' -> 'Skin Placeholder' is grayed out and disabled. So that doesn't work.

So I'm wondering;
1) Why doesn't the selected skin gets renamed attachments?
2) Is there a way to also let the selected skin have renamed attachments without the need to add a dummy skin first?


[edit] Learning skin groups (folder) now:
3) How to have the above mentioned auto renaming function also rename attachments to get loaded from the skin group/folder relating to a fysical subfolder of the skin on 'disc'? Is there a way to do this with the auto renaming feature instead of using search and replace ourselves?

Thanks in advance!

Love this skinning feature btw! Very, very useful! [edit] And being able to use regEx while renaming with the find and replace tool is gold! Cool! 8)
The spineapple doesn't fall far from the tree
Avatar
spineappletree
  • Postovi: 41

Erika

spineappletree je napisao/la:1) Why doesn't the selected skin gets renamed attachments?
The attachment renaming feature assumes you already have a working skin and want to add recolors. So there's no reason to change the path of the original skin.
spineappletree je napisao/la:2) Is there a way to also let the selected skin have renamed attachments without the need to add a dummy skin first?
You can go in the tree and open find and replace (the little magnifier icon in the top right).
Set the scope to current skin, set the field to name to change all, or path to set a different path.
Enable First occurrence and Regular expression.
In the Find field type: .*
In the Replace field type: newpath/$1 where "newpath" should be the folder name you expect.

spineappletree je napisao/la:3) How to have the above mentioned auto renaming function also rename attachments to get loaded from the skin group/folder relating to a fysical subfolder of the skin on 'disc'? Is there a way to do this with the auto renaming feature instead of using search and replace ourselves?
Could you clarify better what you expect to happen here? I may have covered this in the answer above but I'm unsure.

Ah I saw now you already use RegEx XD well, I'm leaving the above for posterity.

I find your workflow quite peculiar, as I'd expect the source images to already be in the expected folder but from what you describe this doesn't seem to be the case.
Avatar
Erika

Erikari
  • Postovi: 3087


Natrag na Editor