Fix #27328: Undoing an operation while baking fluids freezes Blender
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 29 Nov 2011 15:26:46 +0000 (15:26 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 29 Nov 2011 15:26:46 +0000 (15:26 +0000)
commit9c0f557b35acf26fdc95dc118dbf29f91731d2c2
treebf76246b739044cb9a3826f4808e9b1a47163d6b
parent6a99ebcc72b136b74d1c3a154bcb7de5dae3fb38
Fix #27328: Undoing an operation while baking fluids freezes Blender

Prevent Undo be run if there are any jobs are currently running.
This also makes sense with such jobs as multires baker, for example.
source/blender/editors/util/undo.c
source/blender/windowmanager/WM_api.h
source/blender/windowmanager/intern/wm_jobs.c