- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgWrappers/serializers/osgAnimation/RigGeometry.cpp
r12292 r13041 18 18 unsigned int viSize = 0; 19 19 is >> osgDB::PROPERTY("VertexInfluence") >> name; viSize = is.readSize(); is >> osgDB::BEGIN_BRACKET; 20 20 21 21 osgAnimation::VertexInfluence vi; 22 22 vi.setName( name ); … … 33 33 } 34 34 is >> osgDB::END_BRACKET; 35 35 36 36 if ( !map->empty() ) geom.setInfluenceMap( map ); 37 37 return true; … … 48 48 const osgAnimation::VertexInfluence& vi = itr->second; 49 49 if ( name.empty() ) name = "Empty"; 50 50 51 51 os << osgDB::PROPERTY("VertexInfluence") << name; os.writeSize(vi.size()) ; os << osgDB::BEGIN_BRACKET << std::endl; 52 52
