I've found out that some 3ds files don't contains any LIB3DS_NODE_ID fields. The resulting node hierarchy is wrong as all nodes have there node_id set to 0, the lib can not find there parents.
I've read in some unofficial documentation that this LIB3DS_NODE_ID should be incremented for each new encountered node. Doing that fixes the problem for my 3ds files. See the attached patch for how it can be fixed. Jean-Charles
fix_node_id.patch
Description: fix_node_id.patch
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ lib3ds-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lib3ds-devel
