[Bf-blender-cvs] [4e957d406ff] greasepencil-refactor: GPencil: Remove duplicated code

Antonio Vazquez noreply at git.blender.org
Fri Jan 10 16:05:56 CET 2020


Commit: 4e957d406ffb9a47239232a16b67f31b1b28a570
Author: Antonio Vazquez
Date:   Fri Jan 10 16:05:34 2020 +0100
Branches: greasepencil-refactor
https://developer.blender.org/rB4e957d406ffb9a47239232a16b67f31b1b28a570

GPencil: Remove duplicated code

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

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 a2ddf692a2f..b234f1c6a6f 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -6482,8 +6482,6 @@ class VIEW3D_PT_overlay_gpencil_options(Panel):
         if context.object.mode in {'EDIT_GPENCIL', 'SCULPT_GPENCIL', 'WEIGHT_GPENCIL', 'VERTEX_GPENCIL'}:
             layout.prop(overlay, "use_gpencil_edit_lines", text="Edit Lines")
             layout.prop(overlay, "use_gpencil_multiedit_line_only", text="Show Edit Lines only in multiframe")
-
-        if context.object.mode in {'EDIT_GPENCIL', 'SCULPT_GPENCIL', 'WEIGHT_GPENCIL', 'VERTEX_GPENCIL'}:
             layout.prop(overlay, "vertex_opacity", text="Vertex Opacity", slider=True)
 
         if context.object.mode in {'PAINT_GPENCIL', 'EDIT_GPENCIL', 'SCULPT_GPENCIL', 'VERTEX_GPENCIL'}:



More information about the Bf-blender-cvs mailing list