[Bf-blender-cvs] [771b9c8010d] blender2.8: GP: Update Canvas grid orientation when change option

Antonioya noreply at git.blender.org
Sat Nov 3 20:33:48 CET 2018


Commit: 771b9c8010d47e79a1f3cde9e25ecd5f275c3fa4
Author: Antonioya
Date:   Sat Nov 3 20:33:38 2018 +0100
Branches: blender2.8
https://developer.blender.org/rB771b9c8010d47e79a1f3cde9e25ecd5f275c3fa4

GP: Update Canvas grid orientation when change option

===================================================================

M	source/blender/makesrna/intern/rna_sculpt_paint.c

===================================================================

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);



More information about the Bf-blender-cvs mailing list