Blender Git Commit Log

Git Commits -> Revision a5392ad

May 11, 2015, 09:37 (GMT)
Fix for running bake operator in background mode without a job.

The cache bake operator would always create a job in the window manager.
However, when running in background mode via a script, the operator can
not be modal and the script would return right after starting the job.
Then Blender is stopped and the baking job with it.

To prevent this the operator now only runs in a job when executed from
the invoke function (or when 'use_job' is set explicitly).

Commit Details:

Full Hash: a5392ad4aa4ed97e3754d63452120e132f2224ac
Parent Commit: d5228eb
Lines Changed: +112, -54

1 Modified Path:

/source/blender/editors/io/io_cache_library.c (+112, -54) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021