STEAM-GRUPPE
Blender Source Tools BleST
STEAM-GRUPPE
Blender Source Tools BleST
116
I SPIL
604
ONLINE
Grundlagt:
8. november 2013
Alle diskussioner > Bug Reports > Trådoplysninger
ZeqMacaw 25. okt. 2020 kl. 0:55
SMD with a bone name that has a hash character fails to import
Blender 2.90.1
Blender Source Tools 3.1.0
Example model: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=312134319

When decompiled with Crowbar 0.68, these 2 lines are in the "Outfit_Casual.smd" file at the end of the nodes section:
93 "spine 3 attached_Lightning's necklace #2 necklace 1" 2 94 "spine 3 attached_Lightning's necklace #2 necklace 2" 93
Changing to this allowed it to import (i.e. removing the the hash [#] characters):
93 "spine 3 attached_Lightning's necklace 2 necklace 1" 2 94 "spine 3 attached_Lightning's necklace 2 necklace 2" 93

I have confirmed that both the original and the recompiled model with the hash characters show up correctly in Garry's Mod model viewer, so the hash character seems to be a valid bone name character.
Sidst redigeret af ZeqMacaw; 25. okt. 2020 kl. 1:21
< >
Viser 1-1 af 1 kommentarer
Pte Jack 25. okt. 2020 kl. 8:28 
Isn't a hashtag # a comment character in Python? Is it because BleST is written in Python and the # in the SMD isn't escaped like \# even though it is found between 2 string indicators?
< >
Viser 1-1 af 1 kommentarer
Per side: 1530 50

Alle diskussioner > Bug Reports > Trådoplysninger