Page 1 of 1

Is there any way to check if transform operator is finished?

Posted: Thu Oct 24, 2013 12:00 pm
by grzybu
Hi,

I wonder if there is any way to check if transform operator is finished?
I mean when user press G,S,R or use gizmo to transform object.
There is scene_update_post but it's called way too often and when script have to do something what takes time gui gets choppy.
I just need way to get informed when operator is finished and then check if objects are updated.

Posted: Sat Oct 26, 2013 4:06 pm
by CoDEmanX
no, but you can wrap a transform op in a modal op and wait for LMB/RMB/Esc/Spacebar (it's a hack though), or define a Macro if you wanna get modal user input in your own operator.

http://blender.stackexchange.com/questi ... tep-script