cosmetic changes

This commit is contained in:
rolux 2013-07-26 15:36:49 +02:00
parent ea24ff6e25
commit 52b6baebc4

View file

@ -662,7 +662,7 @@ class Timelines():
if self.render_antialias: if self.render_antialias:
self._save_full_tile('antialias') self._save_full_tile('antialias')
if self.cuts_path: if self.cuts_path:
# remove cuts at first frame and last frame and all cuts at max_cut_len # remove cuts at first and last frame and all cuts at max_cut_len
self.cuts = filter(lambda x: x not in [0, self.frame_n] + self.no_cuts, self.cuts) self.cuts = filter(lambda x: x not in [0, self.frame_n] + self.no_cuts, self.cuts)
with open(self.cuts_path, 'w') as f: with open(self.cuts_path, 'w') as f:
# avoid float rounding artefacts # avoid float rounding artefacts