[Bf-blender-cvs] [118a0df7a7e] master: Fix T66517: Clip editor doesn't respect the 2D cursor

Sergey Sharybin noreply at git.blender.org
Mon Jul 8 11:46:43 CEST 2019


Commit: 118a0df7a7e3cdc34c4a3c1e70b993c2dd9db4b5
Author: Sergey Sharybin
Date:   Mon Jul 8 11:45:54 2019 +0200
Branches: master
https://developer.blender.org/rB118a0df7a7e3cdc34c4a3c1e70b993c2dd9db4b5

Fix T66517: Clip editor doesn't respect the 2D cursor

Was caused by 91b768ccb1f4 which re-defined masks menu with the wrong
invoke type.

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

M	release/scripts/startup/bl_ui/properties_mask_common.py

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

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,



More information about the Bf-blender-cvs mailing list