Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-10-22 10:08:19 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-10-22 10:08:19 +0300
commit91b768ccb1f42461668cea61fd1d72d64ab1d14a (patch)
tree9e4a6238765b9b4c77a1b8d00185a70dbef3e5c9 /release/scripts/startup/bl_ui/space_image.py
parent827207b08ee4077f313d29dafa0bc96ea10c2c67 (diff)
UI: remove mask toolbar, use menus instead
Diffstat (limited to 'release/scripts/startup/bl_ui/space_image.py')
-rw-r--r--release/scripts/startup/bl_ui/space_image.py17
1 files changed, 1 insertions, 16 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py
index 1a9b8ab83b1..67cdd9d8938 100644
--- a/release/scripts/startup/bl_ui/space_image.py
+++ b/release/scripts/startup/bl_ui/space_image.py
@@ -646,6 +646,7 @@ class MASK_MT_editor_menus(Menu):
if show_uvedit:
layout.menu("IMAGE_MT_uvs")
if show_maskedit:
+ layout.menu("MASK_MT_add")
layout.menu("MASK_MT_mask")
@@ -659,8 +660,6 @@ from .properties_mask_common import (
MASK_PT_spline,
MASK_PT_point,
MASK_PT_display,
- MASK_PT_tools,
- MASK_PT_add,
)
@@ -689,18 +688,6 @@ class IMAGE_PT_active_mask_point(MASK_PT_point, Panel):
bl_region_type = 'UI'
-class IMAGE_PT_tools_mask(MASK_PT_tools, Panel):
- bl_space_type = 'IMAGE_EDITOR'
- bl_region_type = 'TOOLS'
- bl_category = 'Mask'
-
-
-class IMAGE_PT_tools_mask_add(MASK_PT_add, Panel):
- bl_space_type = 'IMAGE_EDITOR'
- bl_region_type = 'TOOLS'
- bl_category = 'Mask'
-
-
# --- end mask ---
@@ -1381,7 +1368,6 @@ classes = (
IMAGE_HT_header,
MASK_MT_editor_menus,
IMAGE_PT_mask,
- IMAGE_PT_tools_mask_add,
IMAGE_PT_mask_layers,
IMAGE_PT_mask_display,
IMAGE_PT_active_mask_spline,
@@ -1395,7 +1381,6 @@ classes = (
IMAGE_PT_paint,
IMAGE_PT_tools_brush_overlay,
IMAGE_PT_tools_brush_texture,
- IMAGE_PT_tools_mask,
IMAGE_PT_tools_mask_texture,
IMAGE_PT_tools_brush_tool,
IMAGE_PT_paint_stroke,