diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-09-25 12:31:58 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-09-25 12:31:58 +0400 |
commit | a3b0bda7089f8cf414adcb01a8b4bdd272e0bbed (patch) | |
tree | c60c79e876916d6dbc0635f3a61e26065b8327ae | |
parent | 80f6ca9850b670f56631270b96f2b3c6d8a1cc2d (diff) |
Fix related to #23606, tweak baking error message a bit so it also covers
the case where the image can't be loaded.
-rw-r--r-- | source/blender/editors/object/object_bake.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/object/object_bake.c b/source/blender/editors/object/object_bake.c index 76b297b52b1..f81e73faf73 100644 --- a/source/blender/editors/object/object_bake.c +++ b/source/blender/editors/object/object_bake.c @@ -235,7 +235,7 @@ static void bake_freejob(void *bkv) BakeRender *bkr= bkv; finish_bake_internal(bkr); - if(bkr->tot==0) BKE_report(bkr->reports, RPT_ERROR, "No Images found to bake to"); + if(bkr->tot==0) BKE_report(bkr->reports, RPT_ERROR, "No valid images found to bake to"); MEM_freeN(bkr); G.rendering = 0; } @@ -335,7 +335,7 @@ static int bake_image_exec(bContext *C, wmOperator *op) } BLI_end_threads(&threads); - if(bkr.tot==0) BKE_report(op->reports, RPT_ERROR, "No Images found to bake to"); + if(bkr.tot==0) BKE_report(op->reports, RPT_ERROR, "No valid images found to bake to"); finish_bake_internal(&bkr); } |