lib/import/flame_stabilizer.rb in tracksperanto-1.9.0 vs lib/import/flame_stabilizer.rb in tracksperanto-1.9.1

- old
+ new

@@ -28,12 +28,10 @@ base_value_matcher = /Value ([\-\d\.]+)/ keyframe_count_matcher = /Size (\d+)/ indent = nil - keyframes = [] - while line = io.gets unless indent indent = line.scan(/^(\s+)/)[1] end_mark = "#{indent}End" @@ -45,10 +43,9 @@ self.base_value = $1 elsif line.strip == end_mark break end end - raise "Parsed a channel #{@name} with no keyframes" if (empty? && !base_value) end def extract_key_from(io) frame = nil \ No newline at end of file