Thanks again !
But your code has fundamental flaw - it works only if there's exactly one key. What if there are keys for every frame? And these keys have the same values - ergo camera is fixed in space ? "Delete Static Channels" detects this. Of course I can iterate every keyframe checking if it's changing value, but (as lazy as I am :) ) I hoped for some existing command. Maybe event smth. that's more clever than just keyframes (ie. checking parents or constraints). Worst case scenario is playback entire shot range and watch for camera worldSpace movements - but this is unacceptable (playback can be slow in lighting scenes). W dniu 2015-04-17 o 14:09, Mahmoodreza Aarabi pisze:
-- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/5530F948.6000301%40gmail.com. For more options, visit https://groups.google.com/d/optout. |
- [Maya-Python] Checking if channels are static Michał Frątczak
- Re: [Maya-Python] Checking if channels are static Mahmoodreza Aarabi
- Re: [Maya-Python] Checking if channels are sta... f.michal
- Re: [Maya-Python] Checking if channels are... Mahmoodreza Aarabi
- Re: [Maya-Python] Checking if channels... f.michal
- Re: [Maya-Python] Checking if cha... Mahmoodreza Aarabi
- Re: [Maya-Python] Checking if... Mahmoodreza Aarabi
- Re: [Maya-Python] Checkin... f.michal
- Re: [Maya-Python] Checkin... Marcus Ottosson
- Re: [Maya-Python] Checkin... f.michal