lib/middleware/length_cutoff.rb in tracksperanto-2.8.6 vs lib/middleware/length_cutoff.rb in tracksperanto-2.9.0

- old
+ new

@@ -1,5 +1,6 @@ +# -*- encoding : utf-8 -*- # This middleware removes trackers that contain less than min_length keyframes # from the exported batch class Tracksperanto::Middleware::LengthCutoff < Tracksperanto::Middleware::Base attr_accessor :min_length cast_to_int :min_length @@ -19,6 +20,6 @@ def export_point(frame, float_x, float_y, float_residual) @tracker.keyframe! :abs_x => float_x, :abs_y => float_y, :residual => float_residual, :frame => frame end -end \ No newline at end of file +end