Fix T39270: Since as the Move Clip Editor have only two modes, menu on tab is needless
This commit is contained in:
@@ -123,9 +123,9 @@ class CLIP_HT_header(Header):
|
||||
row = layout.row()
|
||||
row.template_ID(sc, "clip", open="clip.open")
|
||||
|
||||
layout.prop(sc, "mode", text="")
|
||||
|
||||
if clip:
|
||||
layout.prop(sc, "mode", text="")
|
||||
|
||||
row = layout.row()
|
||||
row.template_ID(sc, "mask", new="mask.new")
|
||||
|
||||
@@ -1332,17 +1332,6 @@ class CLIP_MT_tracking_specials(Menu):
|
||||
text="Unlock Tracks").action = 'UNLOCK'
|
||||
|
||||
|
||||
class CLIP_MT_select_mode(Menu):
|
||||
bl_label = "Select Mode"
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
|
||||
layout.operator_context = 'INVOKE_REGION_WIN'
|
||||
|
||||
layout.operator_enum("clip.mode_set", "mode")
|
||||
|
||||
|
||||
class CLIP_MT_camera_presets(Menu):
|
||||
"""Predefined tracking camera intrinsics"""
|
||||
bl_label = "Camera Presets"
|
||||
|
||||
Reference in New Issue
Block a user