diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-09-18 12:37:47 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-09-18 12:37:47 +0400 |
commit | e2f439586498992969be5ac5631c51533545f3d4 (patch) | |
tree | c73c1292520a45c842d3d0976abcb04f8c2c9992 /source/blender/makesrna/intern/rna_constraint.c | |
parent | d81315e9d221b3fdd0dafedff58398226590f468 (diff) |
Fixed problems with outliner update in same cases caused by my previous commit.
This troubles were caused by "break" of ND_OBJECT case in outliner area listener,
so not all cases were handled.
Handle more data and actions in outline listener, but not refresh when it's
actually unneeded (there where problems with it without that "break" -- extra
refreshing could be made).
Diffstat (limited to 'source/blender/makesrna/intern/rna_constraint.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_constraint.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_constraint.c b/source/blender/makesrna/intern/rna_constraint.c index 071f6acaf3b..e4726f5e92c 100644 --- a/source/blender/makesrna/intern/rna_constraint.c +++ b/source/blender/makesrna/intern/rna_constraint.c @@ -1919,6 +1919,7 @@ void RNA_def_constraint(BlenderRNA *brna) RNA_def_property_string_funcs(prop, NULL, NULL, "rna_Constraint_name_set"); RNA_def_property_ui_text(prop, "Name", "Constraint name"); RNA_def_struct_name_property(srna, prop); + RNA_def_property_update(prop, NC_OBJECT|ND_CONSTRAINT|NA_RENAME, NULL); /* enums */ prop= RNA_def_property(srna, "type", PROP_ENUM, PROP_NONE); |