[Bf-committers] progress_update message pumping

Luke Frisken l.frisken at gmail.com
Fri Oct 11 02:18:01 CEST 2013


Really cool, I'll check this out tonight!
On Oct 11, 2013 1:23 AM, "Tom Edwards" <contact at steamreview.org> wrote:

> https://codereview.appspot.com/14454056/
>
> This patch makes the wm.progress_update bpy methods pump the message queue.
>
> Results are:
>
> * Users can cancel scripts with Esc
> * User input is ignored until the script finishes (except Esc)
> * Blender's window can be moved, minimised etc. while the script is running
> * On Windows, pumping avoids the "Not Responding" state
>
> Scripts which don't call the progress_update methods (e.g. UI panels)
> are not affected by these changes.
>
> Reviews please!
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>


More information about the Bf-committers mailing list