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

Scripting in Blender with Python, and working on the API

Moderators: jesterKing, stiv

Post Reply
grzybu
Posts: 0
Joined: Wed Aug 04, 2004 8:40 am
Contact:

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

Post by grzybu » Thu Oct 24, 2013 12:00 pm

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.

CoDEmanX
Posts: 0
Joined: Sun Apr 05, 2009 7:42 pm
Location: Germany

Post by CoDEmanX » Sat Oct 26, 2013 4:06 pm

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
I'm sitting, waiting, wishing, building Blender in superstition...

Post Reply