lib/import/shake_script.rb in tracksperanto-1.1.0 vs lib/import/shake_script.rb in tracksperanto-1.1.1
- old
+ new
@@ -55,11 +55,11 @@
def initialize(with_tracker_args)
super(with_tracker_args)
# Name me!
@name = scan_until(/(\w+) /).strip
-
+
# All the tracker arguments
17.times { skip_until ',' } # input data
# Grab the curves
@x_curve, @y_curve, @c_curve = (0..2).map{ CurveParser.new(scan_until('),')).values }
@@ -93,9 +93,11 @@
sript_file_content.scan(TRACKER_PATTERN).each_with_index do | tracker_text_block, idx |
parser = TrackerParser.new(tracker_text_block.to_s)
tracker = Tracksperanto::Tracker.new{|t| t.name = parser.name }
+
+ report_progress("Reading tracker #{tracker.name}")
x_keyframes, y_keyframes, residual_keyframes = TrackerParser.new(tracker_text_block.to_s).curves
x_keyframes.each_with_index do | value_at, kf_index |
# Find the Y keyframe with the same frame
\ No newline at end of file