From Laurens Voerman, build fix for VS.

This commit is contained in:
Robert Osfield
2013-06-20 09:27:50 +00:00
parent 2ab3a1e316
commit 9b095b2936

View File

@@ -592,7 +592,7 @@ osg::Geometry::AttributeBinding DataInputStream::readBinding(){
switch((int)c){
case 0: return osg::Geometry::BIND_OFF;
case 1: return osg::Geometry::BIND_OVERALL;
case 2: return 3 /*osg::Geometry::BIND_PER_PRIMITIVE*/;
case 2: return static_cast<osg::Geometry::AttributeBinding>(3) /*osg::Geometry::BIND_PER_PRIMITIVE*/;
case 3: return osg::Geometry::BIND_PER_PRIMITIVE_SET;
case 4: return osg::Geometry::BIND_PER_VERTEX;
default: