I’m trying to build a temporary pivot tool, and I made a very simple version just to test the core logic.
The idea is:
I compute the relative matrix and apply it to the selected object.
The problem is that while I’m working on the current frame, everything behaves correctly.
But after I close the tool and scrub or check other frames, the character gets completely broken
What could be causing this issue?
I’ve uploaded the code and a screen recording of the problem to Google Drive

--
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_m...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/python_inside_maya/ec2724c9-1ce8-4295-8ec1-9f567595a2c9n%40googlegroups.com.
Sorry about that, I’ll be more careful next time. Thanks for pointing it out.
I’ve checked it, thank you so much.
And Great job on the tool and the clean, well-organized code.
I just had a few questions—I sent you a private message and hope you get a chance to take a look.
--
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_m...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/python_inside_maya/bb214f2d-cc94-4023-b449-cc204d7f9d99n%40googlegroups.com.