Hi,
i want to import a 3d model from a collada file. This works fine, but
all the names of the Nodes in my scenegraph are set to some IDs like
"ID1057". So i looked to the .dae file and found something like this:
<node id="ID1057" name="Line01">
obviously the osg collada importer sets the name of the osg::Nodes to
the IDs from the collada file but i would expect the osg::Node's name to
be "Line01".
here is the code from daeReader.cpp:
Line 546: resultNode->setName( node->getId() ? node->getId() : "" );
shouldn't it be:
resultNode->setName(node->getName() ? node->getName() : "")?
or is there a special reason to use getId() instead of getName() here?
Regards,
MG
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org