forked from bartvdbraak/blender
Fix related to #30416: python render_stats handler now also gets called when the
saved file message is printed.
This commit is contained in:
parent
dff2e84427
commit
8643b8a02d
@ -2098,7 +2098,11 @@ static int do_write_image_or_movie(Render *re, Main *bmain, Scene *scene, bMovie
|
|||||||
RE_ReleaseResultImage(re);
|
RE_ReleaseResultImage(re);
|
||||||
|
|
||||||
BLI_timestr(re->i.lastframetime, name);
|
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)) */
|
fflush(stdout); /* needed for renderd !! (not anymore... (ton)) */
|
||||||
|
|
||||||
return ok;
|
return ok;
|
||||||
|
Loading…
Reference in New Issue
Block a user