[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [23951] trunk/blender/source/blender/ makesrna/intern/rna_object.c: Fix #19646: changing collision bounds type in game physics was

Brecht Van Lommel brecht at blender.org
Mon Oct 19 14:19:19 CEST 2009


Revision: 23951
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23951
Author:   blendix
Date:     2009-10-19 14:19:19 +0200 (Mon, 19 Oct 2009)

Log Message:
-----------
Fix #19646: changing collision bounds type in game physics was
missing viewport redraw.

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_object.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_object.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_object.c	2009-10-19 12:13:32 UTC (rev 23950)
+++ trunk/blender/source/blender/makesrna/intern/rna_object.c	2009-10-19 12:19:19 UTC (rev 23951)
@@ -1024,6 +1024,7 @@
 	RNA_def_property_enum_sdna(prop, NULL, "boundtype");
 	RNA_def_property_enum_items(prop, collision_bounds_items);
 	RNA_def_property_ui_text(prop, "Collision Bounds",  "Selects the collision type.");
+	RNA_def_property_update(prop, NC_OBJECT|ND_DRAW, NULL);
 
 	prop= RNA_def_property(srna, "collision_compound", PROP_BOOLEAN, PROP_NONE);
 	RNA_def_property_boolean_sdna(prop, NULL, "gameflag", OB_CHILD);





More information about the Bf-blender-cvs mailing list