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:
authorPeter Schlaile <peter@schlaile.de>2009-11-29 21:14:16 +0300
committerPeter Schlaile <peter@schlaile.de>2009-11-29 21:14:16 +0300
commita22cfe99db567fb34047b1cf3cacde1be271efac (patch)
tree4816613c4006bdd060b9018e69600379e7fde909 /release/scripts/ui
parentae16f465738b538964e5f00c1506582d47ead7d1 (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.py9
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):