Notifications
Clear all
[Closed] Snap all keyframes to frames
Oct 03, 2014 8:15 pm
Hi, I have some keys on subframes in my object (not only position, rotation, scale, but also in modifiers). Is there a way to snap all keys to frames?
2 Replies
Oct 03, 2014 8:15 pm
btw… how do you snap keys?
never mind… here is how to do it right:
fn snapTime t x = (floor (t + 0.5).frame)
mapKeys $ snapTime 0 #allKeys
you can use the second argument (x) of snapTime function the way you want. in my sample i just don’t need it.
Oct 03, 2014 8:15 pm
So mapKeys was the function I was looking for, thanks a lot Denis, what would I do without your help