lib/import/match_mover.rb in tracksperanto-1.5.7 vs lib/import/match_mover.rb in tracksperanto-1.6.0
- old
+ new
@@ -50,10 +50,10 @@
def extract_key(line)
frame, x, y, residual, rest = line.scan(LINE_PATTERN).flatten.reject{|e| e.strip.empty? }
Tracksperanto::Keyframe.new(
:frame => (frame.to_i() - 1),
:abs_x => x,
- :abs_y => y,
+ :abs_y => @height - y.to_f, # Top-left in MM
:residual => extract_residual(residual)
)
end
def extract_residual(residual_segment)
\ No newline at end of file