UI: Move Sync Markers from View to Marker menu.

In Dopesheet and Sequencer. Suggested by tintwotin in DevTalk, thanks!
This commit is contained in:
Pablo Vazquez 2018-11-05 15:11:18 +01:00
parent 7c7c8f3492
commit 69fcffb78f
2 changed files with 6 additions and 5 deletions

View File

@ -338,7 +338,6 @@ class DOPESHEET_MT_view(Menu):
layout.prop(st, "show_interpolation")
layout.prop(st, "show_extremes")
layout.prop(st, "use_auto_merge_keyframes")
layout.prop(st, "use_marker_sync")
layout.prop(st, "show_seconds")
layout.prop(st, "show_locked_time")
@ -416,6 +415,7 @@ class DOPESHEET_MT_marker(Menu):
if st.show_pose_markers is False:
layout.operator("action.markers_make_local")
layout.prop(st, "use_marker_sync")
#######################################
# Keyframe Editing

View File

@ -225,10 +225,6 @@ class SEQUENCER_MT_view(Menu):
layout.separator()
if is_sequencer_view:
layout.prop(st, "use_marker_sync")
layout.separator()
layout.operator("render.opengl", text="OpenGL Render", icon='RENDER_STILL').sequencer = True
props = layout.operator("render.opengl", text="OpenGL Render Animation", icon='RENDER_ANIMATION')
props.animation = True
@ -275,9 +271,14 @@ class SEQUENCER_MT_marker(Menu):
def draw(self, context):
layout = self.layout
st = context.space_data
is_sequencer_view = st.view_type in {'SEQUENCER', 'SEQUENCER_PREVIEW'}
from .space_time import marker_menu_generic
marker_menu_generic(layout)
if is_sequencer_view:
layout.prop(st, "use_marker_sync")
class SEQUENCER_MT_frame(Menu):
bl_label = "Frame"