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)

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to