Show
Ignore:
Timestamp:
07/31/14 20:29:31 (3 hours ago)
Author:
robert
Message:

Added NodeVisitor::INTERSECTION_VISITOR VisitorType?

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/vrml/IndexedFaceSet.cpp

    r13497 r13557  
    1616osg::ref_ptr<osg::Geometry> ReaderWriterVRML2::convertVRML97IndexedFaceSet(openvrml::node *vrml_ifs) const 
    1717{ 
    18     osg::ref_ptr<osg::Geometry> osg_geom = new osg::Geometry(); 
     18    osg::ref_ptr<deprecated_osg::Geometry> osg_geom = new deprecated_osg::Geometry(); 
    1919 
    2020    osg_geom->addPrimitiveSet(new osg::DrawArrayLengths(osg::PrimitiveSet::POLYGON)); 
     
    161161            if (vrml_norm_per_vertex->value()) 
    162162            { 
    163                 osg_geom->setNormalBinding(osg::Geometry::BIND_PER_VERTEX); 
     163                osg_geom->setNormalBinding(deprecated_osg::Geometry::BIND_PER_VERTEX); 
    164164            } else 
    165165            { 
    166                 osg_geom->setNormalBinding(osg::Geometry::BIND_PER_PRIMITIVE); 
     166                osg_geom->setNormalBinding(deprecated_osg::Geometry::BIND_PER_PRIMITIVE); 
    167167            } 
    168168        } 
     
    215215            if (vrml_color_per_vertex->value()) 
    216216            { 
    217                 osg_geom->setColorBinding(osg::Geometry::BIND_PER_VERTEX); 
     217                osg_geom->setColorBinding(deprecated_osg::Geometry::BIND_PER_VERTEX); 
    218218            } else 
    219219            { 
    220                 osg_geom->setColorBinding(osg::Geometry::BIND_PER_PRIMITIVE); 
     220                osg_geom->setColorBinding(deprecated_osg::Geometry::BIND_PER_PRIMITIVE); 
    221221            } 
    222222        } 
     
    282282        osg_geom->setNormalArray(normals); 
    283283        osg_geom->setNormalIndices(const_cast<osg::IndexArray*>(osg_geom->getVertexIndices())); 
    284         osg_geom->setNormalBinding(osg::Geometry::BIND_PER_VERTEX); 
     284        osg_geom->setNormalBinding(deprecated_osg::Geometry::BIND_PER_VERTEX); 
    285285 
    286286#endif