diff --git a/src/osgPlugins/dae/daeWriter.cpp b/src/osgPlugins/dae/daeWriter.cpp index 992ce09a8..b169bda6b 100644 --- a/src/osgPlugins/dae/daeWriter.cpp +++ b/src/osgPlugins/dae/daeWriter.cpp @@ -119,7 +119,7 @@ std::string daeWriter::getNodeName(const osg::Node & node,const std::string & de if (node.getName().empty()) nodeName=uniquify(defaultName); else - nodeName=node.getName(); + nodeName=uniquify(node.getName()); return nodeName; } @@ -198,4 +198,4 @@ void daeWriter::popStateSet(osg::StateSet* ss) } } -} // namespace osgdae \ No newline at end of file +} // namespace osgdae