[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [50797] trunk/blender/release/scripts/ startup/bl_ui/space_sequencer.py: More fixes in Sequencer's View menu ( thanks to Lockal for pointing those ; ) ).
Bastien Montagne
montagne29 at wanadoo.fr
Fri Sep 21 17:19:26 CEST 2012
Revision: 50797
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=50797
Author: mont29
Date: 2012-09-21 15:19:26 +0000 (Fri, 21 Sep 2012)
Log Message:
-----------
More fixes in Sequencer's View menu (thanks to Lockal for pointing those ;) ).
Modified Paths:
--------------
trunk/blender/release/scripts/startup/bl_ui/space_sequencer.py
Modified: trunk/blender/release/scripts/startup/bl_ui/space_sequencer.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_sequencer.py 2012-09-21 13:56:10 UTC (rev 50796)
+++ trunk/blender/release/scripts/startup/bl_ui/space_sequencer.py 2012-09-21 15:19:26 UTC (rev 50797)
@@ -152,18 +152,22 @@
# # XXX, invokes in the header view
# layout.operator("sequencer.view_ghost_border", text="Overlay Border")
- layout.prop(st, "show_seconds")
+ if st.view_type in {'SEQUENCER', 'SEQUENCER_PREVIEW'}:
+ layout.prop(st, "show_seconds")
+ layout.prop(st, "show_frame_indicator")
- layout.prop(st, "show_frame_indicator")
- if st.display_mode == 'IMAGE':
- layout.prop(st, "show_safe_margin")
- if st.display_mode == 'WAVEFORM':
- layout.prop(st, "show_separate_color")
+ if st.view_type in {'PREVIEW', 'SEQUENCER_PREVIEW'}:
+ if st.display_mode == 'IMAGE':
+ layout.prop(st, "show_safe_margin")
+ elif st.display_mode == 'WAVEFORM':
+ layout.prop(st, "show_separate_color")
layout.separator()
- layout.prop(st, "use_marker_sync")
- layout.separator()
+ if st.view_type in {'SEQUENCER', 'SEQUENCER_PREVIEW'}:
+ layout.prop(st, "use_marker_sync")
+ layout.separator()
+
layout.operator("screen.area_dupli")
layout.operator("screen.screen_full_area")
More information about the Bf-blender-cvs
mailing list