diff options
author | Joshua Leung <aligorith@gmail.com> | 2014-12-01 14:37:00 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2014-12-01 15:19:46 +0300 |
commit | 11ad5175361ecdc8d4b4945cb16ac6ad8c7a35d9 (patch) | |
tree | bef84a2cdfb4ef8af2aaaa08f8db200b80f7e609 /source/blender/makesrna/intern | |
parent | 8d42c2f3ea4b37c6a538b2b01e4d00f98ca96100 (diff) |
Fix: Changing Grease Pencil datablocks updates the view
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r-- | source/blender/makesrna/intern/rna_scene.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index 65ef0740ec6..61f16285251 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -5741,7 +5741,7 @@ void RNA_def_scene(BlenderRNA *brna) RNA_def_property_struct_type(prop, "GreasePencil"); RNA_def_property_flag(prop, PROP_EDITABLE | PROP_ID_REFCOUNT); RNA_def_property_ui_text(prop, "Grease Pencil Data", "Grease Pencil datablock"); - RNA_def_property_update(prop, NC_SCENE, NULL); + RNA_def_property_update(prop, NC_GPENCIL | ND_DATA | NA_EDITED, NULL); /* Transform Orientations */ prop = RNA_def_property(srna, "orientations", PROP_COLLECTION, PROP_NONE); |