Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-10-19 16:19:19 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-10-19 16:19:19 +0400
commit666b480830a978044a7e36e5db0deff919c388a9 (patch)
tree8eca01ee005a2fe3af9e511bbbbf45c6045dca33 /source
parenta84a59b64e5d7bfe3be4bcf5c41b6c481ecde880 (diff)
Fix #19646: changing collision bounds type in game physics was
missing viewport redraw.
Diffstat (limited to 'source')
-rw-r--r--source/blender/makesrna/intern/rna_object.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c
index 1a78a2b9cd5..1e8d5fa6351 100644
--- a/source/blender/makesrna/intern/rna_object.c
+++ b/source/blender/makesrna/intern/rna_object.c
@@ -1024,6 +1024,7 @@ static void rna_def_object_game_settings(BlenderRNA *brna)
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);