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:
authorAntonioya <blendergit@gmail.com>2018-11-03 22:33:38 +0300
committerAntonioya <blendergit@gmail.com>2018-11-03 22:33:38 +0300
commit771b9c8010d47e79a1f3cde9e25ecd5f275c3fa4 (patch)
tree82a30736522acc43cacd28c94571f98fefb81eec /source
parent0db31c03c631474098e26ce4001d6b9d6f4bde06 (diff)
GP: Update Canvas grid orientation when change option
Diffstat (limited to 'source')
-rw-r--r--source/blender/makesrna/intern/rna_sculpt_paint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_sculpt_paint.c b/source/blender/makesrna/intern/rna_sculpt_paint.c
index 86c860ef6a5..ed60e90c033 100644
--- a/source/blender/makesrna/intern/rna_sculpt_paint.c
+++ b/source/blender/makesrna/intern/rna_sculpt_paint.c
@@ -1271,7 +1271,7 @@ static void rna_def_gpencil_sculpt(BlenderRNA *brna)
RNA_def_property_enum_items(prop, rna_enum_gpencil_lock_axis_items);
RNA_def_property_ui_text(prop, "Lock Axis", "");
RNA_def_parameter_clear_flags(prop, PROP_ANIMATABLE, 0);
- RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL);
+ RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update");
/* brush */
srna = RNA_def_struct(brna, "GPencilSculptBrush", NULL);