lib/pipeline/base.rb in tracksperanto-1.9.1 vs lib/pipeline/base.rb in tracksperanto-1.9.2

- old
+ new

@@ -112,16 +112,16 @@ end @ios << io_with_progress trackers = importer.parse(io_with_progress) report_progress(percent_complete = 50.0, "Validating #{trackers.length} imported trackers") - + validate_trackers!(trackers) - + report_progress(percent_complete, "Starting export") - + percent_per_tracker = (100.0 - percent_complete) / trackers.length - + # Use the width and height provided by the parser itself exporter.start_export(importer.width, importer.height) trackers.each_with_index do | t, tracker_idx | kf_weight = percent_per_tracker / t.keyframes.length points += 1 \ No newline at end of file