Added an using namespace osg to fix a MipsPro7.3 build error.

This commit is contained in:
Robert Osfield 2002-02-27 22:12:07 +00:00
parent 12a8293fbd
commit 384b23ea62

View File

@ -2361,6 +2361,13 @@ void DXWriter::ReportUnhandledModesAndAttrs()
// the StateSetVisitor traversal using node.traverse, which continues
// traversal on the node's children.
// need to add this to get round incompatibilities between the MipsPro7.3
// and VisualStudio compiles handling of NodeVisitor:: method calls, VS
// seems broke so can't handle osg::NodeVisitor intpreting it as a
// static method call?!? Anyway no osg:: but using namespace osg seems to
// keep both happy. Robert, Feb 2002.
using namespace osg;
class StateSetVisitor;
class StateSetActionVisitor : public osg::NodeVisitor