[Bf-blender-cvs] [f6931dd946a] greasepencil-object: GPencil: Remove Draw menu in Vertex Paint mode

Antonio Vazquez noreply at git.blender.org
Thu Nov 7 22:58:25 CET 2019


Commit: f6931dd946a36db21c2becacbebe5d0aaee18e49
Author: Antonio Vazquez
Date:   Thu Nov 7 22:26:54 2019 +0100
Branches: greasepencil-object
https://developer.blender.org/rBf6931dd946a36db21c2becacbebe5d0aaee18e49

GPencil: Remove Draw menu in Vertex Paint mode

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

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 f83618996b5..0d19a2f2e12 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -833,8 +833,6 @@ class VIEW3D_MT_editor_menus(Menu):
                 layout.menu("VIEW3D_MT_edit_gpencil_point")
             elif obj and obj.mode == 'WEIGHT_GPENCIL':
                 layout.menu("VIEW3D_MT_weight_gpencil")
-            elif obj and obj.mode == 'VERTEX_GPENCIL':
-                layout.menu("VIEW3D_MT_paint_gpencil")
 
         elif edit_object:
             layout.menu("VIEW3D_MT_edit_%s" % edit_object.type.lower())



More information about the Bf-blender-cvs mailing list