Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-03-27 02:26:30 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-03-27 02:26:30 +0400
commit40c667e75e4e3bfa0bcbdbc678d72df061764aeb (patch)
tree4fb3ddace93e61452ad15bf97ef921117d934afb /release
parent83e83e5eff1a19748c11d234bb903973f80fc1aa (diff)
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.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_sequencer.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py
index 50793f1358b..53d87323d78 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -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()