[Bf-blender-cvs] [234ae0b] master: T41196: Python call of bake operator cause Blender Crash
Dalai Felinto
noreply at git.blender.org
Sun Jul 27 15:37:23 CEST 2014
Commit: 234ae0b5ac23cbd5daca0bdd8b58a882da5c4fd2
Author: Dalai Felinto
Date: Sun Jul 27 10:27:25 2014 -0300
Branches: master
https://developer.blender.org/rB234ae0b5ac23cbd5daca0bdd8b58a882da5c4fd2
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.
===================================================================
M source/blender/editors/object/object_bake_api.c
===================================================================
diff --git a/source/blender/editors/object/object_bake_api.c b/source/blender/editors/object/object_bake_api.c
index b3f3a56..c3bb6d9 100644
--- a/source/blender/editors/object/object_bake_api.c
+++ b/source/blender/editors/object/object_bake_api.c
@@ -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;
More information about the Bf-blender-cvs
mailing list