[Bf-blender-cvs] [d94954c19b9] greasepencil-object: Change assigned icons for lock axis

Antonio Vazquez noreply at git.blender.org
Thu Jun 8 13:42:36 CEST 2017


Commit: d94954c19b940f55747da265d8720a08dd04a7bf
Author: Antonio Vazquez
Date:   Thu Jun 8 10:59:30 2017 +0200
Branches: greasepencil-object
https://developer.blender.org/rBd94954c19b940f55747da265d8720a08dd04a7bf

Change assigned icons for 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 418527b85f2..f93345f5a3b 100644
--- a/source/blender/makesrna/intern/rna_sculpt_paint.c
+++ b/source/blender/makesrna/intern/rna_sculpt_paint.c
@@ -76,10 +76,10 @@ EnumPropertyItem rna_enum_gpencil_sculpt_brush_items[] = {
 };
 
 EnumPropertyItem rna_enum_gpencil_lockaxis_items[] = {
-	{ GP_LOCKAXIS_NONE, "GP_LOCKAXIS_NONE", 0, "None", "" },
-	{ GP_LOCKAXIS_X, "GP_LOCKAXIS_X", 0, "X", "Project strokes to plane locked to X" },
-	{ GP_LOCKAXIS_Y, "GP_LOCKAXIS_Y", 0, "Y", "Project strokes to plane locked to Y" },
-	{ GP_LOCKAXIS_Z, "GP_LOCKAXIS_Z", 0, "Z", "Project strokes to plane locked to Z" },
+	{ GP_LOCKAXIS_NONE, "GP_LOCKAXIS_NONE", ICON_UNLOCKED, "", "Strokes unlocked" },
+	{ GP_LOCKAXIS_X, "GP_LOCKAXIS_X", ICON_MANIPUL, "X", "Project strokes to plane locked to X" },
+	{ GP_LOCKAXIS_Y, "GP_LOCKAXIS_Y", ICON_MANIPUL, "Y", "Project strokes to plane locked to Y" },
+	{ GP_LOCKAXIS_Z, "GP_LOCKAXIS_Z", ICON_MANIPUL, "Z", "Project strokes to plane locked to Z" },
 	{ 0, NULL, 0, NULL, NULL }
 };




More information about the Bf-blender-cvs mailing list