lib/tracksperanto/tracker.rb in tracksperanto-2.9.6 vs lib/tracksperanto/tracker.rb in tracksperanto-2.9.7
- old
+ new
@@ -115,9 +115,14 @@
# Tells how many keyframes this tracker contains
def length
@frame_table.length
end
+ # Removes all the keyframes in the tracker
+ def clear
+ @frame_table = {}
+ end
+
private
def ordered_frame_numbers
@frame_table.keys.sort
end
\ No newline at end of file