[Bf-blender-cvs] [1545203d864] greasepencil-object: Update Grid when change lock axis

Antonioya noreply at git.blender.org
Sun Jul 29 12:25:03 CEST 2018


Commit: 1545203d864e2459c2939a419a4f0230694cb7f1
Author: Antonioya
Date:   Sun Jul 29 11:48:59 2018 +0200
Branches: greasepencil-object
https://developer.blender.org/rB1545203d864e2459c2939a419a4f0230694cb7f1

Update Grid when change lock axis

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

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 12d91ecc6ec..6a6c97b41ad 100644
--- a/source/blender/makesrna/intern/rna_sculpt_paint.c
+++ b/source/blender/makesrna/intern/rna_sculpt_paint.c
@@ -1170,7 +1170,7 @@ static void rna_def_gpencil_sculpt(BlenderRNA *brna)
 	RNA_def_property_enum_items(prop, rna_enum_gpencil_lockaxis_items);
 	RNA_def_property_ui_text(prop, "Lock", "");
 	RNA_def_parameter_clear_flags(prop, PROP_ANIMATABLE, 0);
-	RNA_def_property_update(prop, NC_SCENE | ND_TOOLSETTINGS, NULL);
+	RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL);
 
 	/* brush */
 	srna = RNA_def_struct(brna, "GPencilSculptBrush", NULL);



More information about the Bf-blender-cvs mailing list