[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60280] branches/soc-2013-rigid_body_sim/ source/blender/makesrna/intern/rna_rigidbody.c: rigidbody: Update 3d view when changing collision shape

Sergej Reich sergej.reich at googlemail.com
Sat Sep 21 07:11:58 CEST 2013


Revision: 60280
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60280
Author:   sergof
Date:     2013-09-21 05:11:58 +0000 (Sat, 21 Sep 2013)
Log Message:
-----------
rigidbody: Update 3d view when changing collision shape

Modified Paths:
--------------
    branches/soc-2013-rigid_body_sim/source/blender/makesrna/intern/rna_rigidbody.c

Modified: branches/soc-2013-rigid_body_sim/source/blender/makesrna/intern/rna_rigidbody.c
===================================================================
--- branches/soc-2013-rigid_body_sim/source/blender/makesrna/intern/rna_rigidbody.c	2013-09-21 05:11:57 UTC (rev 60279)
+++ branches/soc-2013-rigid_body_sim/source/blender/makesrna/intern/rna_rigidbody.c	2013-09-21 05:11:58 UTC (rev 60280)
@@ -802,7 +802,7 @@
 	RNA_def_property_enum_items(prop, rigidbody_object_shape_items);
 	RNA_def_property_ui_text(prop, "Collision Shape", "Collision Shape of object in Rigid Body Simulations");
 	RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
-	RNA_def_property_update(prop, NC_OBJECT | ND_POINTCACHE, "rna_RigidBodyOb_reset");
+	RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, "rna_RigidBodyOb_reset");
 	
 	prop = RNA_def_property(srna, "kinematic", PROP_BOOLEAN, PROP_NONE);
 	RNA_def_property_boolean_sdna(prop, NULL, "flag", RBO_FLAG_KINEMATIC);




More information about the Bf-blender-cvs mailing list