[Bf-blender-cvs] [9a2038d0313] greasepencil-object: GPencil: Remove TOPBAR_PT_gpencil_vertexcolor

Antonio Vazquez noreply at git.blender.org
Sun Nov 3 19:33:48 CET 2019


Commit: 9a2038d0313dd0fc1c7bc70cdbb566650f95ae7f
Author: Antonio Vazquez
Date:   Sun Nov 3 19:33:40 2019 +0100
Branches: greasepencil-object
https://developer.blender.org/rB9a2038d0313dd0fc1c7bc70cdbb566650f95ae7f

GPencil: Remove TOPBAR_PT_gpencil_vertexcolor

Only use the color and the menu Vertex Color

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

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 954ca1e8468..f38cb5ff56f 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -353,10 +353,6 @@ class _draw_tool_settings_context_mode:
                 if gp_style.stroke_style != 'TEXTURE' or gp_style.use_stroke_pattern:
                     row.separator(factor=0.4)
                     row.prop(brush, "color", text="")
-                    row.popover(
-                        panel="TOPBAR_PT_gpencil_vertexcolor",
-                        text="",
-                    )
 
         row = layout.row(align=True)
         tool_settings = context.scene.tool_settings
@@ -369,10 +365,6 @@ class _draw_tool_settings_context_mode:
         if context.object and brush.gpencil_tool == 'TINT':
             row.separator(factor=0.4)
             row.prop(brush, "color", text="")
-            row.popover(
-                panel="TOPBAR_PT_gpencil_vertexcolor",
-                text="",
-            )
 
         from bl_ui.properties_paint_common import (
             brush_basic_gpencil_paint_settings,
@@ -6758,18 +6750,6 @@ class TOPBAR_PT_gpencil_materials(GreasePencilMaterialsPanel, Panel):
         return ob and ob.type == 'GPENCIL'
 
 
-class TOPBAR_PT_gpencil_vertexcolor(GreasePencilVertexcolorPanel, Panel):
-    bl_space_type = 'VIEW_3D'
-    bl_region_type = 'HEADER'
-    bl_label = "Vertex Color"
-    bl_ui_units_x = 14
-
-    @classmethod
-    def poll(cls, context):
-        ob = context.object
-        return ob and ob.type == 'GPENCIL'
-
-
 classes = (
     VIEW3D_HT_header,
     VIEW3D_HT_tool_header,
@@ -6982,7 +6962,6 @@ classes = (
     VIEW3D_PT_gpencil_draw_context_menu,
     VIEW3D_PT_sculpt_context_menu,
     TOPBAR_PT_gpencil_materials,
-    TOPBAR_PT_gpencil_vertexcolor,
     TOPBAR_PT_annotation_layers,
 )



More information about the Bf-blender-cvs mailing list