UI correct use of "..." in the VSE
This commit is contained in:
@@ -338,19 +338,19 @@ class SEQUENCER_MT_add(Menu):
|
|||||||
|
|
||||||
if len(bpy.data.scenes) > 10:
|
if len(bpy.data.scenes) > 10:
|
||||||
layout.operator_context = 'INVOKE_DEFAULT'
|
layout.operator_context = 'INVOKE_DEFAULT'
|
||||||
layout.operator("sequencer.scene_strip_add", text="Scene...")
|
layout.operator("sequencer.scene_strip_add", text="Scene")
|
||||||
else:
|
else:
|
||||||
layout.operator_menu_enum("sequencer.scene_strip_add", "scene", text="Scene...")
|
layout.operator_menu_enum("sequencer.scene_strip_add", "scene", text="Scene...")
|
||||||
|
|
||||||
if len(bpy.data.movieclips) > 10:
|
if len(bpy.data.movieclips) > 10:
|
||||||
layout.operator_context = 'INVOKE_DEFAULT'
|
layout.operator_context = 'INVOKE_DEFAULT'
|
||||||
layout.operator("sequencer.movieclip_strip_add", text="Clips...")
|
layout.operator("sequencer.movieclip_strip_add", text="Clips")
|
||||||
else:
|
else:
|
||||||
layout.operator_menu_enum("sequencer.movieclip_strip_add", "clip", text="Clip...")
|
layout.operator_menu_enum("sequencer.movieclip_strip_add", "clip", text="Clip...")
|
||||||
|
|
||||||
if len(bpy.data.masks) > 10:
|
if len(bpy.data.masks) > 10:
|
||||||
layout.operator_context = 'INVOKE_DEFAULT'
|
layout.operator_context = 'INVOKE_DEFAULT'
|
||||||
layout.operator("sequencer.mask_strip_add", text="Masks...")
|
layout.operator("sequencer.mask_strip_add", text="Masks")
|
||||||
else:
|
else:
|
||||||
layout.operator_menu_enum("sequencer.mask_strip_add", "mask", text="Mask...")
|
layout.operator_menu_enum("sequencer.mask_strip_add", "mask", text="Mask...")
|
||||||
|
|
||||||
@@ -362,7 +362,7 @@ class SEQUENCER_MT_add(Menu):
|
|||||||
|
|
||||||
|
|
||||||
class SEQUENCER_MT_add_effect(Menu):
|
class SEQUENCER_MT_add_effect(Menu):
|
||||||
bl_label = "Effect Strip..."
|
bl_label = "Effect Strip"
|
||||||
|
|
||||||
def draw(self, context):
|
def draw(self, context):
|
||||||
layout = self.layout
|
layout = self.layout
|
||||||
|
Reference in New Issue
Block a user