Open ajd-262 opened 3 years ago
Blender has a character limit of 63 characters for datablock names. How could this possibly be fixed without huge changes within Blender itself?
Not asking Blender to be fix but to have Switch Toolbox updated to never use datablock names above 63 characters long.
If the UV Map name and/or Vertex Color is above 63 characters long Blender won't load the UV map and/or Vertex Coloring. If I use Notepad++ and find the UV map and/or Color above the 63 characters limit and shorten it things will load fine.
For example the BotW Impa's House. TwnObj_Village_Sheiker_A-05.sbfres and saved TwnObj_Village_SheikerMayorHouse_A_01 as .dae.
In Notepad++ one of the UV map name is OutLightBase_A_2__Mt_CmnTex_Wood_VillageSheikerHouse01Hari_A-texcoord
Blender it cuts things off after 63 characters and UV Mapping is lost. OutLightBase_A_2__Mt_CmnTex_Wood_VillageSheikerHouse01Hari_A-te
Editing to Mt_CmnTex_Wood_VillageSheikerHouse01Hari_A-texcoord or for a test 012345678901234567890123456789012345678901234567890123456789012
Will make the UV map load right in Blender. Vertex Coloring has the same problem. If above 63 characters long it will not load as well. Needs to be hand edited just like UV Map to get to/under 63 characters.
So changing OutLightBase_A_2__Mt_CmnTex_Wood_VillageSheikerHouse01Hari_A-color to Mt_CmnTex_Wood_VillageSheikerHouse01Hari_A-color will get the Vertex Coloring under 63 characters and loads fine.
It would be nice if this can be fixed. Having to check and hand edit models hasn't been fun.
Using Toobox 1.0.2366.0. Tested in Blender 2.78c, 2.79b and Blender 2.91