[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [59886] branches/soc-2013-rigid_body_sim/ source/blender/blenkernel/intern/rigidbody.c: rigidbody: Use deformations for collision shapes by default

Sergej Reich sergej.reich at googlemail.com
Fri Sep 6 19:58:46 CEST 2013


Revision: 59886
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=59886
Author:   sergof
Date:     2013-09-06 17:58:46 +0000 (Fri, 06 Sep 2013)
Log Message:
-----------
rigidbody: Use deformations for collision shapes by default

Modified Paths:
--------------
    branches/soc-2013-rigid_body_sim/source/blender/blenkernel/intern/rigidbody.c

Modified: branches/soc-2013-rigid_body_sim/source/blender/blenkernel/intern/rigidbody.c
===================================================================
--- branches/soc-2013-rigid_body_sim/source/blender/blenkernel/intern/rigidbody.c	2013-09-06 17:58:45 UTC (rev 59885)
+++ branches/soc-2013-rigid_body_sim/source/blender/blenkernel/intern/rigidbody.c	2013-09-06 17:58:46 UTC (rev 59886)
@@ -979,6 +979,8 @@
 		rbo->shape = RB_SHAPE_CONVEXH;
 	else
 		rbo->shape = RB_SHAPE_TRIMESH;
+	
+	rbo->mesh_source = RBO_MESH_DEFORM;
 
 	/* set initial transform */
 	mat4_to_loc_quat(rbo->pos, rbo->orn, ob->obmat);




More information about the Bf-blender-cvs mailing list