From Jan Ciger, build fixes to work with OpenVRML 0.18.3.
Tweaks to this submission from Robert Osfield to fix missing elements in submission.
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
# pragma warning(disable: 4800)
|
||||
#endif
|
||||
|
||||
#include <openvrml/vrml97node.h>
|
||||
#include <openvrml/node.h>
|
||||
|
||||
#include <osg/CullFace>
|
||||
@@ -19,7 +18,6 @@ osg::ref_ptr<osg::Geometry> ReaderWriterVRML2::convertVRML97IndexedFaceSet(openv
|
||||
osg::ref_ptr<osg::Geometry> osg_geom = new osg::Geometry();
|
||||
|
||||
osg_geom->addPrimitiveSet(new osg::DrawArrayLengths(osg::PrimitiveSet::POLYGON));
|
||||
//osg::StateSet *osg_stateset = osg_geom->getOrCreateStateSet();
|
||||
|
||||
// get array of vertex coordinate_nodes
|
||||
if(vrml_ifs->type().id() == "IndexedFaceSet")
|
||||
|
||||
Reference in New Issue
Block a user