~nagos/openshot/nagos

« back to all changes in this revision

Viewing changes to openshot/classes/open_project.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:
32
32
                old_thumbnailer = project_object.thumbnailer
33
33
                old_play_head_line = project_object.sequences[0].play_head_line
34
34
                old_theme = project_object.theme
 
35
                project_object.mlt_profile = None
35
36
 
36
37
                # update the form reference on the new project file
37
38
                project_object = pickle.load(myFile)