[pitivi] project: Always force auto transitions



commit 2c623e558904801661a3edb975810bfbccfa9cd9
Author: Thibault Saunier <tsaunier gnome org>
Date:   Fri Jun 5 05:48:21 2015 +0200

    project: Always force auto transitions
    
    Fixes http://phabricator.freedesktop.org/T87

 pitivi/project.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/project.py b/pitivi/project.py
index 700a0a5..c471f21 100644
--- a/pitivi/project.py
+++ b/pitivi/project.py
@@ -1055,6 +1055,7 @@ class Project(Loggable, GES.Project):
         """ vmethod, get called on "loaded" """
 
         self._ensureTracks()
+        self.timeline.props.auto_transition = True
         # self._ensureLayer()
         if self.scenario is not None:
             return
@@ -1118,8 +1119,6 @@ class Project(Loggable, GES.Project):
             return False
 
         self.timeline.commit = self._commit
-        if not self.timeline.get_layers():
-            self.timeline.props.auto_transition = True
         self._calculateNbLoadingAssets()
 
         self.pipeline = Pipeline(self.app)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]