[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [44472] trunk/blender/source/gameengine/ Physics/Bullet/CcdPhysicsController.cpp: Fixing a crash when converting physics objects in the Game Engine.

Daniel Stokes kupomail at gmail.com
Sun Feb 26 22:57:52 CET 2012


Revision: 44472
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44472
Author:   kupoman
Date:     2012-02-26 21:57:51 +0000 (Sun, 26 Feb 2012)
Log Message:
-----------
Fixing a crash when converting physics objects in the Game Engine.

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-02-26 21:32:20 UTC (rev 44471)
+++ trunk/blender/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp	2012-02-26 21:57:51 UTC (rev 44472)
@@ -1431,6 +1431,7 @@
 	if (!dm) {
 		free_dm = true;
 		dm = CDDM_from_mesh(meshobj->GetMesh(), NULL);
+		DM_ensure_tessface(dm);
 	}
 
 	MVert *mvert = dm->getVertArray(dm);




More information about the Bf-blender-cvs mailing list