diff options
author | Peter Schlaile <peter@schlaile.de> | 2009-11-29 21:14:16 +0300 |
---|---|---|
committer | Peter Schlaile <peter@schlaile.de> | 2009-11-29 21:14:16 +0300 |
commit | a22cfe99db567fb34047b1cf3cacde1be271efac (patch) | |
tree | 4816613c4006bdd060b9018e69600379e7fde909 /release/scripts/ui | |
parent | ae16f465738b538964e5f00c1506582d47ead7d1 (diff) |
== Sequencer ==
Brought back default effect fading: (adding a wipe effect makes it
wipe by default for the length of the strip)
First round in upgrading IPOs from older versions. (works for non-IPO
case now and sets at least the new "default effect fade"-flag)
Still non-working for old IPOs, since Sequence-Strips aren't real IDs!
And: non-frame-lock case should stretch the FCurve to the right length!
Diffstat (limited to 'release/scripts/ui')
-rw-r--r-- | release/scripts/ui/space_sequencer.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/release/scripts/ui/space_sequencer.py b/release/scripts/ui/space_sequencer.py index 56f5aa883c8..8476a98992c 100644 --- a/release/scripts/ui/space_sequencer.py +++ b/release/scripts/ui/space_sequencer.py @@ -351,7 +351,10 @@ class SEQUENCER_PT_effect(SequencerButtonsPanel): if not strip: return False - return strip.type in ('COLOR', 'WIPE', 'GLOW', 'SPEED', 'TRANSFORM') + return strip.type in ('ADD','SUBTRACT','ALPHA_OVER','ALPHA_UNDER', + 'GAMMA_CROSS','MULTIPLY','OVER_DROP', + 'PLUGIN', + 'WIPE', 'GLOW', 'TRANSFORM', 'COLOR', 'SPEED') def draw(self, context): layout = self.layout @@ -431,7 +434,9 @@ class SEQUENCER_PT_effect(SequencerButtonsPanel): if strip.type == 'SPEED': col.prop(strip, "speed_fader", text="Speed fader") else: - col.prop(strip, "effect_fader", text="Effect fader") + col.prop(strip, "use_effect_default_fade", "Default fade") + if not strip.use_effect_default_fade: + col.prop(strip, "effect_fader", text="Effect fader") class SEQUENCER_PT_input(SequencerButtonsPanel): |