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:
authorSergey Sharybin <sergey.vfx@gmail.com>2019-07-08 12:45:54 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-07-08 12:46:40 +0300
commit118a0df7a7e3cdc34c4a3c1e70b993c2dd9db4b5 (patch)
treee04f14595665c507da3bd175ce41e3c07bdb894c /release/scripts/startup/bl_ui/properties_mask_common.py
parent08aad00a5d58ebb388f37172b9d98a8b9b515960 (diff)
Fix T66517: Clip editor doesn't respect the 2D cursor
Was caused by 91b768ccb1f4 which re-defined masks menu with the wrong invoke type.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_mask_common.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_mask_common.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/release/scripts/startup/bl_ui/properties_mask_common.py b/release/scripts/startup/bl_ui/properties_mask_common.py
index fd8ca542f9f..94d7ac2c91e 100644
--- a/release/scripts/startup/bl_ui/properties_mask_common.py
+++ b/release/scripts/startup/bl_ui/properties_mask_common.py
@@ -290,15 +290,6 @@ class MASK_PT_tools:
col.operator("mask.shape_key_feather_reset", text="Reset Feather Animation")
col.operator("mask.shape_key_rekey", text="Re-Key Shape Points")
-class MASK_MT_add(Menu):
- bl_label = "Add"
-
- def draw(self, _context):
- layout = self.layout
-
- layout.operator("mask.primitive_circle_add", icon='MESH_CIRCLE')
- layout.operator("mask.primitive_square_add", icon='MESH_PLANE')
-
class MASK_MT_mask(Menu):
bl_label = "Mask"
@@ -391,7 +382,6 @@ class MASK_MT_select(Menu):
classes = (
MASK_UL_layers,
- MASK_MT_add,
MASK_MT_mask,
MASK_MT_visibility,
MASK_MT_transform,