Hi ,
I’ve discovered a bug in the max exporter v1.3 involving the export of
bone nodes when the names are ‘unclean’. The biped default node
names are a good example (spaces in the names).
I’ve temporarily fixed the problem:
(fn write_DAE_SkinModifier max_obj max_skin file_ptr =)
for i=1 to num_bones do
(
-- WARNING: Name of bones must be unique within the scene
-- THIS IS A BUG !! TRYING TO GRAB NODE FROM MAX WITH CLEAN VERSION NAME !! (KY - 2005.05.26)
bone_name = skinOps.GetBoneName max_skin i 1
--bone_name = DAE_Clean_String (skinOps.GetBoneName max_skin i 1)
bone_obj = getNodeByName bone_name exact:true
format " %
" (DAE_INode_Name bone_obj) to:file_ptr
)
This seems to work and it fixed my problem.
(Easily reproducible using the standard names for a biped)
Can the max folks fix this for the next version ?
Thanks