From 9addcc050d6946d91570fe8183fdfe7b1fe9a7ee Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 24 Nov 2008 15:27:19 +0000 Subject: [PATCH] From Rolad Smeenk, "Forgot a call to uniqify when generating an Id based on osg::Node name." --- src/osgPlugins/dae/daeWriter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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