[Bf-blender-cvs] [83b3b540de3] blender2.8: GP: Change Lock icon and Popover title

Antonioya noreply at git.blender.org
Mon Nov 5 16:29:13 CET 2018


Commit: 83b3b540de382afbbc5aeef23e584ed358a6c6d7
Author: Antonioya
Date:   Mon Nov 5 16:28:37 2018 +0100
Branches: blender2.8
https://developer.blender.org/rB83b3b540de382afbbc5aeef23e584ed358a6c6d7

GP: Change Lock icon and Popover title

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

M	release/scripts/startup/bl_ui/space_view3d.py
M	source/blender/makesrna/intern/rna_sculpt_paint.c

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

diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 8119a37c3cf..49c0c2c7834 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -4920,11 +4920,11 @@ class VIEW3D_PT_gpencil_origin(Panel):
 class VIEW3D_PT_gpencil_lock(Panel):
     bl_space_type = 'VIEW_3D'
     bl_region_type = 'HEADER'
-    bl_label = "Lock Axis"
+    bl_label = "Drawing Plane"
 
     def draw(self, context):
         layout = self.layout
-        layout.label(text="Drawing Plane Lock")
+        layout.label(text="Drawing Plane")
 
         row = layout.row()
         col = row.column()
diff --git a/source/blender/makesrna/intern/rna_sculpt_paint.c b/source/blender/makesrna/intern/rna_sculpt_paint.c
index a66f1cc01ce..a90ab01fc07 100644
--- a/source/blender/makesrna/intern/rna_sculpt_paint.c
+++ b/source/blender/makesrna/intern/rna_sculpt_paint.c
@@ -84,7 +84,7 @@ static EnumPropertyItem rna_enum_gpencil_weight_brush_items[] = {
 };
 
 static const EnumPropertyItem rna_enum_gpencil_lock_axis_items[] = {
-	{ GP_LOCKAXIS_VIEW, "VIEW", ICON_UNLOCKED, "View", "" },
+	{ GP_LOCKAXIS_VIEW, "VIEW", ICON_RESTRICT_VIEW_ON, "View", "Align strokes to current view plane" },
 	{ GP_LOCKAXIS_X, "AXIS_X", ICON_AXIS_SIDE, "Y-Z Plane", "Project strokes to plane locked to X" },
 	{ GP_LOCKAXIS_Y, "AXIS_Y", ICON_AXIS_FRONT, "X-Z Plane", "Project strokes to plane locked to Y" },
 	{ GP_LOCKAXIS_Z, "AXIS_Z", ICON_AXIS_TOP, "X-Y Plane", "Project strokes to plane locked to Z" },



More information about the Bf-blender-cvs mailing list