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
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2009-05-11 21:34:31 +0400
committerThomas Dinges <blender@dingto.org>2009-05-11 21:34:31 +0400
commitf487a96302f211219b1cf172b18a8203988c83f4 (patch)
tree82e2c7b6f50091686f53176dd8b62679c5bf4fd6 /source/blender
parent69fca66a81420c154f90807d60c81aff0cd53fa6 (diff)
2.5:
* Added empty buttons * Added missing empty notifiers
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/makesrna/intern/rna_object.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c
index 6a14fec4656..cbc80e68b4a 100644
--- a/source/blender/makesrna/intern/rna_object.c
+++ b/source/blender/makesrna/intern/rna_object.c
@@ -680,11 +680,13 @@ static StructRNA *rna_def_object(BlenderRNA *brna)
RNA_def_property_enum_sdna(prop, NULL, "empty_drawtype");
RNA_def_property_enum_items(prop, empty_drawtype_items);
RNA_def_property_ui_text(prop, "Empty Draw Type", "Viewport display style for empties.");
+ RNA_def_property_update(prop, NC_OBJECT|ND_DRAW, NULL);
prop= RNA_def_property(srna, "empty_draw_size", PROP_FLOAT, PROP_NONE);
RNA_def_property_float_sdna(prop, NULL, "empty_drawsize");
RNA_def_property_range(prop, 0.01, 10.0);
RNA_def_property_ui_text(prop, "Empty Draw Size", "Size of of display for empties in the viewport.");
+ RNA_def_property_update(prop, NC_OBJECT|ND_DRAW, NULL);
/* render */