lib/middleware/base.rb in tracksperanto-1.0.6 vs lib/middleware/base.rb in tracksperanto-1.1.0
- old
+ new
@@ -19,9 +19,14 @@
# signifies that the previous tracker has passed by
def start_tracker_segment(tracker_name)
@exporter.start_tracker_segment(tracker_name)
end
+ # Called on tracker end
+ def end_tracker_segment
+ @exporter.end_tracker_segment
+ end
+
# Called for each tracker keyframe
def export_point(at_frame_i, abs_float_x, abs_float_y, float_residual)
@exporter.export_point(at_frame_i, abs_float_x, abs_float_y, float_residual)
end
end
\ No newline at end of file