STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
252
IN-GAME
1,746
ONLINE
Founded
8 November, 2013
All Discussions > Bug Reports > Topic Details
ZeqMacaw 25 Oct, 2020 @ 12:55am
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.
Last edited by ZeqMacaw; 25 Oct, 2020 @ 1:21am
< >
Showing 1-1 of 1 comments
Pte Jack 25 Oct, 2020 @ 8:28am 
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?
< >
Showing 1-1 of 1 comments
Per page: 1530 50

All Discussions > Bug Reports > Topic Details