Blender Git Loki

Git Commits -> Revision c80e986

Revision c80e986 by Dalai Felinto (master)
May 9, 2014, 15:32 (GMT)
Revert "Fix wrong job type used in cycles bake operator, could cause crashes."

This reverts commit 97823f604796fb008fef03653974473ece75d18e.

I was to push a fix based on Brecht's solution (this commit) when he did
the same.

This fix is correct, but it misses replacing WM_JOB_TYPE_OBJECT_BAKE
with WM_JOB_OBJECT_BAKE_TEXTURE in the rest of the file, which may lead
to problems when calling the operator in a quickly sucession -
WM_jobs_test also tests for the same type of JOB.

I created WM_JOB_TYPE_OBJECT_BAKE elsewhere, may as well use it. Unless we revert 20c90ea and f194da3.

I'm fine with either way, just trying to get master to work again ;)

Commit Details:

Full Hash: c80e9866c8615c1742bc74506f8c8fe574552777
Parent Commit: f194da3
Lines Changed: +1, -2

1 Modified Path:

/source/blender/editors/object/object_bake_api.c (+1, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021