diff options
author | Richard Antalik <richardantalik@gmail.com> | 2021-10-02 00:22:04 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2021-10-02 00:26:59 +0300 |
commit | 12e8c783535c60b0117a6d49a3ed378966db193e (patch) | |
tree | 290fac5543d05c771ed4d430d4cd4769e6ae8c0e /release/scripts | |
parent | 1476d35870452e603584be808a25b60d5ddd1c67 (diff) |
Fix T91888: Pivot point settings shown in timeline
Added to timeline by accident in f9e09819766d.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/space_sequencer.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py index 455f5e2d841..197e3efebda 100644 --- a/release/scripts/startup/bl_ui/space_sequencer.py +++ b/release/scripts/startup/bl_ui/space_sequencer.py @@ -189,8 +189,12 @@ class SEQUENCER_HT_header(Header): if st.view_type in {'SEQUENCER', 'SEQUENCER_PREVIEW'}: row = layout.row(align=True) row.prop(sequencer_tool_settings, "overlap_mode", text="") + + if st.view_type == 'SEQUENCER_PREVIEW': row = layout.row(align=True) row.prop(sequencer_tool_settings, "pivot_point", text="", icon_only=True) + + if st.view_type in {'SEQUENCER', 'SEQUENCER_PREVIEW'}: row = layout.row(align=True) row.prop(tool_settings, "use_snap_sequencer", text="") sub = row.row(align=True) |