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:
Sergey Sharybin
2012-03-26 22:26:30 +00:00
parent 83e83e5eff
commit 40c667e75e
5 changed files with 20 additions and 43 deletions

View File

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