Commit: 3bab9673ae490dbe84e3376cde78f959e2f014c4
Author: Antonio Vazquez
Date:   Wed Jul 11 19:18:02 2018 +0200
Branches: greasepencil-object
https://developer.blender.org/rB3bab9673ae490dbe84e3376cde78f959e2f014c4

UI: Hide color picker operator in Top bar

This operator will be replaced by material preview selector.

We keep the code internally now, but it will be removed when the preview works 
fine.

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

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 aa0f5ca7779..edf8d466b36 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -126,9 +126,10 @@ class VIEW3D_HT_header(Header):
                 row = layout.row(align=True)
                 row.prop(tool_settings.gpencil_sculpt, "use_select_mask", 
text="")
 
-            if gpd.is_stroke_paint_mode:
-                row = layout.row(align=True)
-                row.operator("gpencil.colorpick", text="Colors", 
icon="GROUP_VCOL")
+            # GPXX: Disabled. To be removed when new preview works
+            # if gpd.is_stroke_paint_mode:
+            #     row = layout.row(align=True)
+            #     row.operator("gpencil.colorpick", text="Colors", 
icon="GROUP_VCOL")
 
         VIEW3D_MT_editor_menus.draw_collapsible(context, layout)

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to