GP: Update Canvas grid orientation when change option
authorAntonioya <blendergit@gmail.com>
Sat, 3 Nov 2018 19:33:38 +0000 (20:33 +0100)
committerAntonioya <blendergit@gmail.com>
Sat, 3 Nov 2018 19:33:38 +0000 (20:33 +0100)
source/blender/makesrna/intern/rna_sculpt_paint.c

index 86c860ef6a5fcf487df459342118799cc94926a2..ed60e90c033ad04e8ddbd635b9fc9e59f8668716 100644 (file)
@@ -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);