lib/pipeline/base.rb in tracksperanto-1.7.0 vs lib/pipeline/base.rb in tracksperanto-1.7.1
- old
+ new
@@ -109,10 +109,10 @@
points += 1
processor.start_tracker_segment(t.name)
t.each_with_index do | kf, idx |
keyframes += 1
processor.export_point(kf.frame, kf.abs_x, kf.abs_y, kf.residual)
- yield(percent_complete += kf_weight, "Writing keyframe #{idx+1} of #{t.length}") if block_given?
+ yield(percent_complete += kf_weight, "Writing keyframe #{idx+1} of #{t.name.inspect}") if block_given?
end
processor.end_tracker_segment
end
processor.end_export
\ No newline at end of file