Cleanup: Clear Space in the render log
I found the small dent on the log to be bothersome and unnecessary. Although modifying the Blender output may cause some parsing issues, they can be quickly resolved. Before: ``` 22-05 16:26:02 (debug) Fra:96 Mem:3130.54M (Peak 11196.17M) | Time:11:58.38 | Remaining:00:09.02 | Mem:2890.45M, Peak:9039.80M | Scene | ViewLayer | Finishing 22-05 16:26:34 (debug) Saved: 'd:\sheep_gpu\sheepit\208726392_0096.png' 22-05 16:26:34 (debug) Time: 12:30.28 (Saving: 00:31.08) ``` After: ``` 22-05 16:26:02 (debug) Fra:96 Mem:3130.54M (Peak 11196.17M) | Time:11:58.38 | Remaining:00:09.02 | Mem:2890.45M, Peak:9039.80M | Scene | ViewLayer | Finishing 22-05 16:26:34 (debug) Saved: 'd:\sheep_gpu\sheepit\208726392_0096.png' 22-05 16:26:34 (debug) Time: 12:30.28 (Saving: 00:31.08) ``` Pull Request: https://projects.blender.org/blender/blender/pulls/108187
This commit is contained in:
committed by
Sergey Sharybin
parent
61ed5b3d24
commit
3d895f6e7a
@@ -2052,7 +2052,7 @@ static bool do_write_image_or_movie(Render *re,
|
||||
re->i.lastframetime = PIL_check_seconds_timer() - re->i.starttime;
|
||||
|
||||
BLI_timecode_string_from_time_simple(filepath, sizeof(filepath), re->i.lastframetime);
|
||||
printf(" Time: %s", filepath);
|
||||
printf("Time: %s", filepath);
|
||||
|
||||
/* Flush stdout to be sure python callbacks are printing stuff after blender. */
|
||||
fflush(stdout);
|
||||
|
||||
Reference in New Issue
Block a user