Fix T91888: Pivot point settings shown in timeline

Added to timeline by accident in f9e0981976.
This commit is contained in:
Richard Antalik 2021-10-01 23:22:04 +02:00
parent 1476d35870
commit 12e8c78353
Notes: blender-bot 2023-02-14 06:27:47 +01:00
Referenced by issue #91917, Animated Values in Node Trees and Geometry Nodes Modifier are not distinguishable
Referenced by issue #91902, Ambient Occlusion not working right
Referenced by issue #91888, VSE UI: Pivot should not be exposed in Sequencer
1 changed files with 4 additions and 0 deletions

View File

@ -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)