T41196: Python call of bake operator cause Blender Crash

We could make the exec to also show the progress bar, but I think it is not needed.
This commit is contained in:
Dalai Felinto
2014-07-27 10:27:25 -03:00
parent 45846d6779
commit 234ae0b5ac

View File

@@ -1080,7 +1080,6 @@ static int bake_exec(bContext *C, wmOperator *op)
/* setup new render */
RE_test_break_cb(re, NULL, bake_break);
RE_progress_cb(re, NULL, bake_progress_update);
if (!bake_objects_check(bkr.main, bkr.ob, &bkr.selected_objects, bkr.reports, bkr.is_selected_to_active))
return OPERATOR_CANCELLED;