Fix related to #30416: python render_stats handler now also gets called when the
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 1 Mar 2012 19:19:10 +0000 (19:19 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 1 Mar 2012 19:19:10 +0000 (19:19 +0000)
saved file message is printed.

source/blender/render/intern/source/pipeline.c

index b39544fb43140ddc4b7d9f59017d226aeec366c0..76dfda7795e862270cfe4cda07db8a8031592e17 100644 (file)
@@ -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;