lib/export/shake_text.rb in tracksperanto-2.8.6 vs lib/export/shake_text.rb in tracksperanto-2.9.0

- old
+ new

@@ -1,5 +1,6 @@ +# -*- encoding : utf-8 -*- # Export for Shake .txt tracker blobs class Tracksperanto::Export::ShakeText < Tracksperanto::Export::Base PREAMBLE = "TrackName %s\n Frame X Y Correlation\n" POSTAMBLE = "\n" TEMPLATE = " %.2f %.3f %.3f %.3f" @@ -23,6 +24,6 @@ def export_point(frame, abs_float_x, abs_float_y, float_residual) # Shake starts from frame 1, not 0 line = TEMPLATE % [frame + 1, abs_float_x, abs_float_y, 1 - float_residual] @io.puts line end -end \ No newline at end of file +end