Changeset 9573
- Timestamp:
- 01/28/09 13:51:47 (4 years ago)
- Location:
- OpenSceneGraph/trunk/src/osgPlugins
- Files:
-
- 2 modified
-
OpenFlight/PrimaryRecords.cpp (modified) (1 diff)
-
osgSim/IO_ObjectRecordData.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/OpenFlight/PrimaryRecords.cpp
r8563 r9573 693 693 in.forward(4); 694 694 695 uint32 mask = in.readUInt32(~0 );695 uint32 mask = in.readUInt32(~0u); 696 696 697 697 // Possible bug in models with version number 15.4.1 ? 698 698 // Symptoms: Black trees in VegaPlayer town. 699 699 if (document.version() == 1541) 700 mask = ~0 ;700 mask = ~0u; 701 701 702 702 ParentPools* parentPools = new ParentPools; -
OpenSceneGraph/trunk/src/osgPlugins/osgSim/IO_ObjectRecordData.cpp
r7932 r9573 25 25 ); 26 26 27 #if 0 28 // if deffing out as values are not used anywhere. 27 29 static const int numBits( 6 ); 28 typedef std::pair< std::string, unsigned int> FlagBits;30 typedef std::pair< std::string, osgSim::ObjectRecordData::Flags> FlagBits; 29 31 static FlagBits flagBits[numBits] = { 30 32 FlagBits( std::string("DONT_DISPLAY_IN_DAYLIGHT"), osgSim::ObjectRecordData::DONT_DISPLAY_IN_DAYLIGHT ), … … 35 37 FlagBits( "GROUPS_SHADOW_OBJECT", osgSim::ObjectRecordData::GROUPS_SHADOW_OBJECT ) 36 38 }; 37 39 #endif 38 40 bool ObjectRecordData_readLocalData(osg::Object &obj, osgDB::Input &fr) 39 41 {
