Changeset 13041 for OpenSceneGraph/trunk/src/osgPlugins/ive/Object.cpp
- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/src/osgPlugins/ive/Object.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/ive/Object.cpp
r10762 r13041 36 36 case(osg::Object::UNSPECIFIED): out->writeChar((char)2); break; 37 37 } 38 38 39 39 if ( out->getVersion() >= VERSION_0031) 40 40 { 41 41 const osg::Object* object = dynamic_cast<const osg::Object*>(getUserData()); 42 if (object) 42 if (object) 43 43 { 44 44 out->writeBool(true); 45 45 out->writeObject(object); 46 46 } 47 else 47 else 48 48 { 49 49 out->writeBool(false);
