diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-09-04 19:53:12 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-09-04 19:53:12 +0400 |
commit | f1eab8e85365a91592bf0f369d173e4b9854619d (patch) | |
tree | 2b4806b5ce2f7f260c718af1d89ad2e3eadd35e1 /source/blender/makesrna/intern/rna_space.c | |
parent | 1cada203bcae3a65f34e5631f8e8e1ae22ce4415 (diff) |
Fix #28503: Selecting a Grease Pencil from the Properties panel does not update 3D View
Added missing notifiers.
Diffstat (limited to 'source/blender/makesrna/intern/rna_space.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index 7a7debe1bf5..35360910015 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -1622,6 +1622,7 @@ static void rna_def_space_image(BlenderRNA *brna) RNA_def_property_flag(prop, PROP_EDITABLE); RNA_def_property_struct_type(prop, "GreasePencil"); RNA_def_property_ui_text(prop, "Grease Pencil", "Grease pencil data for this space"); + RNA_def_property_update(prop, NC_SPACE|ND_SPACE_IMAGE, NULL); prop= RNA_def_property(srna, "use_grease_pencil", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", SI_DISPGP); |