I'm currently creating a script that updates all of the keyframes of an object that's currently been moved. (a feature that 3Ds Max has by default)
I've managed to solve all the problems that happened along the way such as "when animation is playing don't udpate, otherwise animation will go funky" and others, but I just can't seem to tell blender to stop updating keyframes when player is scrubbing through the timeline, me and my colleague have literally tried everything and nothing quite did the job, not even creating our own algorithm that checks for the frame change within scene_update_pre/scene_update_post because of the very nature of scene_update_post/scene_update_pre handlers :(
So I figured that the only way I could do this is to find something like on_gizmo_click_on and on_gizmo_click_off handlers, however I cannot seem to find anything like that in Blender. We are willing to make them ourselves even if we have to dive into the source code, however, since we're relatively new to blender I don't know where we could even draw such an information from? Do any of you have any ideas how I could go about doing this?
I would greatly appreciate any help, as this would not only help me create this script, but it would also help me create many other similar scripts for my team in the future based on this same gizmo handler. (gizmo, manipulator or whatever I should refer to it in the Blender community :D).