c80e9866c8
This reverts commit97823f6047. 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 revert20c90eaandf194da3. I'm fine with either way, just trying to get master to work again ;)