Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-03-01 23:19:10 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-03-01 23:19:10 +0400
commit8643b8a02d09ac60c9b0f5d15b57a580bb1cb1e7 (patch)
treec973f1172df2265697173cf80a7f52a642777b45 /source
parentdff2e84427ba29904e4f8c46a80dd42c45cfa85a (diff)
Fix related to #30416: python render_stats handler now also gets called when the
saved file message is printed.
Diffstat (limited to 'source')
-rw-r--r--source/blender/render/intern/source/pipeline.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/pipeline.c b/source/blender/render/intern/source/pipeline.c
index b39544fb431..76dfda7795e 100644
--- a/source/blender/render/intern/source/pipeline.c
+++ b/source/blender/render/intern/source/pipeline.c
@@ -2098,7 +2098,11 @@ static int do_write_image_or_movie(Render *re, Main *bmain, Scene *scene, bMovie
RE_ReleaseResultImage(re);
BLI_timestr(re->i.lastframetime, name);
- printf(" Time: %s\n", name);
+ printf(" Time: %s", name);
+
+ BLI_exec_cb(G.main, NULL, BLI_CB_EVT_RENDER_STATS);
+
+ fputc('\n', stdout);
fflush(stdout); /* needed for renderd !! (not anymore... (ton)) */
return ok;