Revision: 2796 http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=2796&view=rev Author: ulteq Date: 2012-06-09 19:33:19 +0000 (Sat, 09 Jun 2012) Log Message: ----------- minor fix
Modified Paths: -------------- trunk/source/main/terrain/TerrainObjectManager.cpp Modified: trunk/source/main/terrain/TerrainObjectManager.cpp =================================================================== --- trunk/source/main/terrain/TerrainObjectManager.cpp 2012-06-09 19:29:26 UTC (rev 2795) +++ trunk/source/main/terrain/TerrainObjectManager.cpp 2012-06-09 19:33:19 UTC (rev 2796) @@ -657,7 +657,7 @@ // unload any collision tris std::for_each(obj.collTris.begin(), obj.collTris.end(), removeCollisionTri); // and any collision boxes - std::for_each(obj.collTris.begin(), obj.collTris.end(), removeCollisionBox); + std::for_each(obj.collBoxes.begin(), obj.collBoxes.end(), removeCollisionBox); obj.sceneNode->detachAllObjects(); obj.sceneNode->setVisible(false); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Rigsofrods-devel mailing list Rigsofrods-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rigsofrods-devel