lib/import/pftrack.rb in tracksperanto-1.2.6 vs lib/import/pftrack.rb in tracksperanto-1.3.0
- old
+ new
@@ -33,11 +33,11 @@
if first_tracker_line =~ CHARACTERS # PFTrack version 5 format
first_tracker_line = io.gets.chomp
end
num_of_keyframes = first_tracker_line.to_i
- t.keyframes = (1..num_of_keyframes).map do
- report_progress("Reading keyframe")
+ t.keyframes = (1..num_of_keyframes).map do | keyframe_idx |
+ report_progress("Reading keyframe #{keyframe_idx} of #{num_of_keyframes}")
Tracksperanto::Keyframe.new do |k|
k.frame, k.abs_x, k.abs_y, k.residual = io.gets.chomp.split
end
end
end
\ No newline at end of file