- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgWrappers/serializers/osg/PolygonMode.cpp
r12292 r13041 25 25 is >> osgDB::PROPERTY("Front"); int value1 = readModeValue(is); 26 26 is >> osgDB::PROPERTY("Back"); int value2 = readModeValue(is); 27 27 28 28 if ( frontAndBack ) 29 29 attr.setMode( osg::PolygonMode::FRONT_AND_BACK, (osg::PolygonMode::Mode)value1 ); … … 39 39 { 40 40 os << osgDB::PROPERTY("UseFrontAndBack") << attr.getFrontAndBack() << std::endl; 41 41 42 42 os << osgDB::PROPERTY("Front"); 43 43 writeModeValue( os, (int)attr.getMode(osg::PolygonMode::FRONT) ); 44 44 os << std::endl; 45 45 46 46 os << osgDB::PROPERTY("Back"); 47 47 writeModeValue( os, (int)attr.getMode(osg::PolygonMode::BACK) );
