Running Time Left

This commit is contained in:
Jeison Yehuda Amihud (Blender Dumbass) 2023-05-06 19:42:16 +00:00
parent 317106cd10
commit 03231fa571

View file

@ -1006,7 +1006,9 @@ def layer(win, call):
# REMAINING TIME
remaining = avarage * (win.renders[render]["end_frame"] - win.renders[render]["current_frame"])
remaining = avarage * (win.renders[render]["end_frame"] - win.renders[render]["current_frame"] + 1)
remaining = remaining - ((time.time() - win.render_runtime.get("started_rendering", 0))*1000000)
UI_color.set(layer, win, "text_normal")
layer.set_font_size(20)