Clean-up logic of behavior of refresh/reload operators in sequencer
After discussion with Campbell we found much nicer solution which keeps operation with data much more clear: - Refresh Sequencer is totally harmless, do not touch actual data and just removes everything from cache - Reload Strip will reload data and adjust it's length for all selected strips without affecting on length of strip itself - Reload Strip and Adjust length will do the same but will also adjust length of strip itself.
This commit is contained in:
@@ -285,7 +285,10 @@ class SEQUENCER_MT_strip(Menu):
|
||||
#}
|
||||
|
||||
layout.separator()
|
||||
layout.operator("sequencer.reload")
|
||||
props = layout.operator("sequencer.reload", text="Reload Strips")
|
||||
props.adjust_length = False
|
||||
props = layout.operator("sequencer.reload", text="Reload Strips and Adjust Length")
|
||||
props.adjust_length = True
|
||||
layout.operator("sequencer.reassign_inputs")
|
||||
layout.operator("sequencer.swap_inputs")
|
||||
layout.separator()
|
||||
|
||||
Reference in New Issue
Block a user