[Bf-blender-cvs] [2ae1c97ab3f] greasepencil-refactor: GPencil: Remove Vertex Paint Opacity for Edi & Sculpt

Antonio Vazquez noreply at git.blender.org
Fri Jan 10 16:08:45 CET 2020


Commit: 2ae1c97ab3fae3ba8377c94d81944d3c862b782e
Author: Antonio Vazquez
Date:   Fri Jan 10 16:08:32 2020 +0100
Branches: greasepencil-refactor
https://developer.blender.org/rB2ae1c97ab3fae3ba8377c94d81944d3c862b782e

GPencil: Remove Vertex Paint Opacity for Edi & Sculpt

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

M	release/scripts/startup/bl_ui/space_view3d.py

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

diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index b234f1c6a6f..dec70cef6ed 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -6484,7 +6484,7 @@ class VIEW3D_PT_overlay_gpencil_options(Panel):
             layout.prop(overlay, "use_gpencil_multiedit_line_only", text="Show Edit Lines only in multiframe")
             layout.prop(overlay, "vertex_opacity", text="Vertex Opacity", slider=True)
 
-        if context.object.mode in {'PAINT_GPENCIL', 'EDIT_GPENCIL', 'SCULPT_GPENCIL', 'VERTEX_GPENCIL'}:
+        if context.object.mode in {'PAINT_GPENCIL', 'VERTEX_GPENCIL'}:
             layout.label(text="Vertex Paint")
             layout.prop(overlay, "gpencil_vertex_paint_opacity", text="Opacity", slider=True)



More information about the Bf-blender-cvs mailing list