diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-03-01 23:19:10 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-03-01 23:19:10 +0400 |
commit | 8643b8a02d09ac60c9b0f5d15b57a580bb1cb1e7 (patch) | |
tree | c973f1172df2265697173cf80a7f52a642777b45 /source/blender/render | |
parent | dff2e84427ba29904e4f8c46a80dd42c45cfa85a (diff) |
Fix related to #30416: python render_stats handler now also gets called when the
saved file message is printed.
Diffstat (limited to 'source/blender/render')
-rw-r--r-- | source/blender/render/intern/source/pipeline.c | 6 |
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; |