Created
July 5, 2012 13:05
-
-
Save julik/3053563 to your computer and use it in GitHub Desktop.
Flip your trackers in the image plane in 2D
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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