[Bf-blender-cvs] [6290fd5821a] greasepencil-object: GPencil: Fix duplicate parameter in UI: use line in multiframe

Antonio Vazquez noreply at git.blender.org
Sun Nov 17 16:34:38 CET 2019


Commit: 6290fd5821a3e5ef4977686a69a55d0d66ffc75a
Author: Antonio Vazquez
Date:   Sun Nov 17 16:34:31 2019 +0100
Branches: greasepencil-object
https://developer.blender.org/rB6290fd5821a3e5ef4977686a69a55d0d66ffc75a

GPencil: Fix duplicate parameter in UI: use line in multiframe

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

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 b69ec2e9f91..ff84b0073ef 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -6410,7 +6410,7 @@ class VIEW3D_PT_overlay_gpencil_options(Panel):
         sub.prop(overlay, "gpencil_paper_opacity", text="Fade Objects", slider=True)
         sub.prop(overlay, "use_gpencil_fade_objects", text="", icon='OUTLINER_OB_GREASEPENCIL')
 
-        if context.object.mode in {'EDIT_GPENCIL', 'SCULPT_GPENCIL', 'WEIGHT_GPENCIL'}:
+        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")
 
@@ -6418,7 +6418,6 @@ class VIEW3D_PT_overlay_gpencil_options(Panel):
             layout.prop(overlay, "vertex_opacity", text="Vertex Opacity", slider=True)
 
         if context.object.mode in {'PAINT_GPENCIL', 'EDIT_GPENCIL', 'SCULPT_GPENCIL', 'VERTEX_GPENCIL'}:
-            layout.prop(overlay, "use_gpencil_multiedit_line_only", text="Show Edit Lines only in multiframe")
             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