 Timestamp:
 05/21/15 16:11:54 (3 days ago)
 Files:

 1 modified
Legend:
 Unmodified
 Added
 Removed

OpenSceneGraph/trunk/src/osgPlugins/ive/DataInputStream.cpp
r13506 r13557 585 585 586 586 587 osg::Geometry::AttributeBinding DataInputStream::readBinding(){587 deprecated_osg::Geometry::AttributeBinding DataInputStream::readBinding(){ 588 588 char c = readChar(); 589 589 … … 591 591 592 592 switch((int)c){ 593 case 0: return osg::Geometry::BIND_OFF;594 case 1: return osg::Geometry::BIND_OVERALL;595 case 2: return static_cast<osg::Geometry::AttributeBinding>(3) /*osg::Geometry::BIND_PER_PRIMITIVE*/;596 case 3: return osg::Geometry::BIND_PER_PRIMITIVE_SET;597 case 4: return osg::Geometry::BIND_PER_VERTEX;593 case 0: return deprecated_osg::Geometry::BIND_OFF; 594 case 1: return deprecated_osg::Geometry::BIND_OVERALL; 595 case 2: return deprecated_osg::Geometry::BIND_PER_PRIMITIVE; 596 case 3: return deprecated_osg::Geometry::BIND_PER_PRIMITIVE_SET; 597 case 4: return deprecated_osg::Geometry::BIND_PER_VERTEX; 598 598 default: 599 599 throwException("Unknown binding type in DataInputStream::readBinding()"); 600 return osg::Geometry::BIND_OFF;600 return deprecated_osg::Geometry::BIND_OFF; 601 601 } 602 602 }