Commit 3df762b2 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum

[FIX #297] needed to remove several functions which use per-primitive-binding...

[FIX #297] needed to remove several functions which use per-primitive-binding as this kind of binding is no longer supported in OSG. Several function still use this ... to be continued
parent 46da11e5
......@@ -199,7 +199,7 @@ WROIBox::WROIBox( WPosition minPos, WPosition maxPos ) :
osg::ref_ptr<osg::Vec3Array> normals = osg::ref_ptr<osg::Vec3Array>( new osg::Vec3Array );
setNormals( normals );
m_surfaceGeometry->setNormalArray( normals );
m_surfaceGeometry->setNormalBinding( osg::Geometry::BIND_PER_PRIMITIVE );
//m_surfaceGeometry->setNormalBinding( osg::Geometry::BIND_PER_PRIMITIVE );
m_not->set( false );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment