Skip to content

Instantly share code, notes, and snippets.

@julik
Created July 5, 2012 13:05
Show Gist options
  • Save julik/3053563 to your computer and use it in GitHub Desktop.
Save julik/3053563 to your computer and use it in GitHub Desktop.
Flip your trackers in the image plane in 2D
//SIZZLET Flip Selected Trackers In 2D
obj = Scene.activeObj
shot = obj.shot
frameFrom = shot.start
frameTo = shot.stop
for (tk in obj.trk)
if (tk.isSel == 1)
tk.isDone = 0
for (frame = frameFrom; frame <= frameTo; frame++)
tk.u = tk.u * -1
end
tk.isDone = 1
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment