UI: rename brush "Overlay" to "Display"
authorCampbell Barton <ideasman42@gmail.com>
Fri, 15 Mar 2019 00:34:43 +0000 (11:34 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 15 Mar 2019 00:41:14 +0000 (11:41 +1100)
Brush cursor display options are more closely related to other
data-block display options than per-3D viewport overlay.

Rename to avoid confusion.

release/scripts/startup/bl_ui/space_image.py
release/scripts/startup/bl_ui/space_view3d_toolbar.py

index 95a411d..d1d4d15 100644 (file)
@@ -849,8 +849,8 @@ class IMAGE_PT_paint(Panel, ImagePaintPanel):
             brush_texpaint_common(self, context, layout, brush, settings)
 
 
-class IMAGE_PT_tools_brush_overlay(BrushButtonsPanel, Panel):
-    bl_label = "Overlay"
+class IMAGE_PT_tools_brush_display(BrushButtonsPanel, Panel):
+    bl_label = "Display"
     bl_context = ".paint_common_2d"
     bl_options = {'DEFAULT_CLOSED'}
     bl_category = "Options"
@@ -1065,7 +1065,7 @@ class IMAGE_PT_tools_brush_appearance(BrushButtonsPanel, Panel):
     bl_context = ".paint_common_2d"
     bl_options = {'DEFAULT_CLOSED'}
     bl_category = "Options"
-    bl_parent_id = "IMAGE_PT_tools_brush_overlay"
+    bl_parent_id = "IMAGE_PT_tools_brush_display"
 
     def draw(self, context):
         layout = self.layout
@@ -1348,7 +1348,7 @@ classes = (
     IMAGE_PT_view_display_uv_edit_overlays,
     IMAGE_PT_view_display_uv_edit_overlays_advanced,
     IMAGE_PT_paint,
-    IMAGE_PT_tools_brush_overlay,
+    IMAGE_PT_tools_brush_display,
     IMAGE_PT_tools_brush_texture,
     IMAGE_PT_tools_mask_texture,
     IMAGE_PT_paint_stroke,
index 2257108..f95796a 100644 (file)
@@ -582,9 +582,9 @@ class VIEW3D_PT_stencil_projectpaint(View3DPanel, Panel):
 
 
 # TODO, move to space_view3d.py
-class VIEW3D_PT_tools_brush_overlay(Panel, View3DPaintPanel):
+class VIEW3D_PT_tools_brush_display(Panel, View3DPaintPanel):
     bl_context = ".paint_common"  # dot on purpose (access from topbar)
-    bl_label = "Overlay"
+    bl_label = "Display"
     bl_options = {'DEFAULT_CLOSED'}
 
     @classmethod
@@ -1051,7 +1051,7 @@ class VIEW3D_PT_sculpt_symmetry(Panel, View3DPaintPanel):
 class VIEW3D_PT_tools_brush_appearance(Panel, View3DPaintPanel):
     bl_context = ".paint_common"  # dot on purpose (access from topbar)
     bl_label = "Appearance"
-    bl_parent_id = "VIEW3D_PT_tools_brush_overlay"
+    bl_parent_id = "VIEW3D_PT_tools_brush_display"
     bl_options = {'DEFAULT_CLOSED'}
 
     @classmethod
@@ -1834,7 +1834,7 @@ classes = (
     TEXTURE_UL_texpaintslots,
     VIEW3D_MT_tools_projectpaint_uvlayer,
     VIEW3D_PT_stencil_projectpaint,
-    VIEW3D_PT_tools_brush_overlay,
+    VIEW3D_PT_tools_brush_display,
     VIEW3D_PT_tools_brush_texture,
     VIEW3D_PT_tools_mask_texture,
     VIEW3D_PT_tools_brush_stroke,