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

- old
+ new

@@ -1,5 +1,6 @@ +# -*- encoding : utf-8 -*- # This middleware removes all keyframes before frame 0, and skips trackers entirely if they are all before frame 0 class Tracksperanto::Middleware::StartTrim < Tracksperanto::Middleware::Base attr_accessor :enabled def start_export( img_width, img_height) @@ -11,6 +12,6 @@ end def export_point(frame, float_x, float_y, float_residual) return super unless (@enabled && frame < 0) end -end \ No newline at end of file +end