[Bf-blender-cvs] [f93d3bd42b0] master: Sequencer UI: Move Refresh button from header to the View menus
William Reynish
noreply at git.blender.org
Tue Jun 25 10:00:30 CEST 2019
Commit: f93d3bd42b0d2567a503ef163c9c8c6403b14cc3
Author: William Reynish
Date: Tue Jun 25 10:00:20 2019 +0200
Branches: master
https://developer.blender.org/rBf93d3bd42b0d2567a503ef163c9c8c6403b14cc3
Sequencer UI: Move Refresh button from header to the View menus
This button didn't need to be so prominent, and clashed with the Sequencer sidebar
===================================================================
M release/scripts/startup/bl_ui/space_sequencer.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py
index e717b36597f..9785f8e55de 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -106,10 +106,6 @@ class SEQUENCER_HT_header(Header):
layout.separator_spacer()
- if st.view_type in {'SEQUENCER', 'SEQUENCER_PREVIEW'}:
- layout.separator()
- layout.operator("sequencer.refresh_all", icon='FILE_REFRESH', text="")
-
if st.view_type in {'PREVIEW', 'SEQUENCER_PREVIEW'}:
layout.prop(st, "display_mode", text="", icon_only=True)
@@ -227,6 +223,10 @@ class SEQUENCER_MT_view(Menu):
layout.separator()
+ layout.operator("sequencer.refresh_all", icon='FILE_REFRESH', text="Refresh All")
+
+ layout.separator()
+
if is_preview:
layout.operator_context = 'INVOKE_REGION_PREVIEW'
layout.operator("sequencer.view_all_preview", text="Fit Preview in window")
More information about the Bf-blender-cvs
mailing list