[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [48785] trunk/blender/source/gameengine/ Physics/Bullet/CcdPhysicsController.cpp: Fix for my previous commit so things build on GCC.

Mitchell Stokes mogurijin at gmail.com
Tue Jul 10 06:43:27 CEST 2012


Revision: 48785
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=48785
Author:   moguri
Date:     2012-07-10 04:43:23 +0000 (Tue, 10 Jul 2012)
Log Message:
-----------
Fix for my previous commit so things build on GCC.

Modified Paths:
--------------
    trunk/blender/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp

Modified: trunk/blender/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp
===================================================================
--- trunk/blender/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp	2012-07-10 02:05:06 UTC (rev 48784)
+++ trunk/blender/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp	2012-07-10 04:43:23 UTC (rev 48785)
@@ -2051,7 +2051,7 @@
 	// Make sure to also replace the mesh in the shape map! Otherwise we leave dangling references when we free.
 	// Note, this whole business could cause issues with shared meshes. If we update one mesh, do we replace
 	// them all?
-	std::map<RAS_MeshObject*,CcdShapeConstructionInfo*>::const_iterator mit = m_meshShapeMap.find(m_meshObject);
+	std::map<RAS_MeshObject*,CcdShapeConstructionInfo*>::iterator mit = m_meshShapeMap.find(m_meshObject);
 	if (mit != m_meshShapeMap.end()) {
 		m_meshShapeMap.erase(mit);
 		m_meshShapeMap[meshobj] = this;




More information about the Bf-blender-cvs mailing list