From 2c9b4834afea1514dc15c38cf399bd3e0af3440b Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 28 May 2009 16:46:11 +0000 Subject: [PATCH] Fixed warning --- src/osgPlugins/vrml/IndexedFaceSet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/vrml/IndexedFaceSet.cpp b/src/osgPlugins/vrml/IndexedFaceSet.cpp index fd9ceb8eb..d47a7f95a 100644 --- a/src/osgPlugins/vrml/IndexedFaceSet.cpp +++ b/src/osgPlugins/vrml/IndexedFaceSet.cpp @@ -19,7 +19,7 @@ osg::ref_ptr ReaderWriterVRML2::convertVRML97IndexedFaceSet(openv osg::ref_ptr osg_geom = new osg::Geometry(); osg_geom->addPrimitiveSet(new osg::DrawArrayLengths(osg::PrimitiveSet::POLYGON)); - osg::StateSet *osg_stateset = osg_geom->getOrCreateStateSet(); + //osg::StateSet *osg_stateset = osg_geom->getOrCreateStateSet(); // get array of vertex coordinate_nodes if(vrml_ifs->type().id() == "IndexedFaceSet")