Sha256: 0e609aebfbbfedad99f25106961b174a792488e745d6e5c7de37866d88c4a847
Contents?: true
Size: 554 Bytes
Versions: 5
Compression:
Stored size: 554 Bytes
Contents
# This tool removes all keyframes before frame 0, and skips trackers entirely if they are all before frame 0 class Tracksperanto::Tool::StartTrim < Tracksperanto::Tool::Base def self.action_description "Remove all the keyframes that are on frames below 1" end def start_export( img_width, img_height) @exporter = Tracksperanto::Tool::LengthCutoff.new(@exporter, :min_length => 1) # Ensure at least one keyframe super end def export_point(frame, float_x, float_y, float_residual) return super unless frame < 0 end end
Version data entries
5 entries across 5 versions & 1 rubygems