[pitivi: 8/9] mixer: Remove some redundant code
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi: 8/9] mixer: Remove some redundant code
- Date: Thu, 19 Aug 2010 08:39:18 +0000 (UTC)
commit b44a97c3b6ac38a465176cd7ab34dccfc1a5f887
Author: Robert Swain <robert swain collabora co uk>
Date: Thu Aug 12 11:27:35 2010 +0200
mixer: Remove some redundant code
pitivi/elements/mixer.py | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/pitivi/elements/mixer.py b/pitivi/elements/mixer.py
index 768c5e7..027e7d8 100644
--- a/pitivi/elements/mixer.py
+++ b/pitivi/elements/mixer.py
@@ -222,15 +222,6 @@ class SmartVideomixerBinPropertyHelper(Signallable):
# no alpha
pass
else:
- # we must increment alpha_count and update the alpha state as
- # appropriate
- old_alpha_count = self.alpha_count
- for kf in interpolator.getKeyframes():
- if interpolator.valueAt(kf.time) < 1.0:
- self.alpha_count += 1
- # as we're only incrementing, this should be the only case to check
- if old_alpha_count == 0 and self.alpha_count > 0:
- self.alphaStateChanged(True)
interpolator.connect("keyframe-added", self._keyframeChangedCb)
interpolator.connect("keyframe-moved", self._keyframeChangedCb)
interpolator.connect("keyframe-removed", self._keyframeChangedCb)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]