-
-
Save fereria/b0c796f5576c60fee2c9 to your computer and use it in GitHub Desktop.
This file contains 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
def getNextKey(node): | |
st = pm.findKeyframe(node,w="first") | |
end = pm.findKeyframe(node,w="last") | |
yield st | |
while 1: | |
next = pm.findKeyframe(node,time=(st,st),w="next") | |
yield next | |
if end == next: | |
break | |
st = next |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment