~nagos/openshot/nagos

« back to all changes in this revision

Viewing changes to openshot/classes/restore_state.py

  • Committer: Jonathan Thomas
  • Date: 2010-01-28 07:39:38 UTC
  • Revision ID: jonathan@jonathan64-20100128073938-xlmzndtbuqwgtama
Bumped version to 1.0.3

Intergrated a patch from Cody to fix some translation
strings missing (i.e. Track 1, Track 2)

Improved the speed of GenerateXML() 1300%.  This was mainly due to 
a very poor project.fps() method, which was slow and used all
over the place.  So, I tried to not call the method as much,
and I implemented some caching of the fps value.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
                project_object.thumbnailer = old_thumbnailer
46
46
                #project_object.sequences[0].play_head_position = 0.0
47
47
                project_object.theme = old_theme
 
48
                project_object.mlt_profile = None
48
49
                
49
50
                # update the thumbnailer's project reference
50
51
                project_object.thumbnailer.set_project(project_object)