lib/import/nuke_grammar/utils.rb in tracksperanto-3.2.0 vs lib/import/nuke_grammar/utils.rb in tracksperanto-3.2.1
- old
+ new
@@ -4,9 +4,10 @@
KEYFRAME = /^([-\d\.]+)$/
# Scan a TCL curve expression into a number of tuples of [frame, value]
def parse_curve(atoms)
# Replace the closing curly brace with a curly brace with space so that it gets caught by split
+ atoms.shift # remove the :c curly designator
atoms.shift # remove the "curve" keyword
tuples = []
# Nuke saves curves very efficiently. x(keyframe_number) means that an uninterrupted sequence of values will start,
# after which values follow. When the curve is interrupted in some way a new x(keyframe_number) will signifu that we
# skip to that specified keyframe and the curve continues from there, in gap size defined by the last fragment.