Fixed the MS version number check in Optiizer.cpp. Fixes to memory handling

in ReaderWriterDW.cpp.  Submissions from Geoff Michel.
This commit is contained in:
Robert Osfield
2002-03-18 22:03:28 +00:00
parent eb0587b5fb
commit 49e7be88a7
2 changed files with 63 additions and 58 deletions

View File

@@ -41,7 +41,7 @@ void Optimizer::optimize(osg::Node* node, unsigned int options)
if (options & SHARE_DUPLICATE_STATE)
{
#if (defined(_MSC_VER) && _MSC_VER<13 && !defined(_STLPORT_VERSION))
#if (defined(_MSC_VER) && _MSC_VER<1300 && !defined(_STLPORT_VERSION))
osg::notify(osg::INFO)<<"Warning: VisualStudio 6.0 build, unable to run state optimizer"<<std::endl;
#else
StateVisitor osv;