Render Previewer!

This commit is contained in:
Jeison Yehuda Amihud (Blender Dumbass) 2023-03-06 20:17:37 +00:00
parent 5a879ff8c0
commit ced0d5ac4a
2 changed files with 9 additions and 1 deletions

View file

@ -238,6 +238,13 @@ while True:
output(cframe)
to_break2 = False
# Starting Render
runtime = get_runtime_data(project)
runtime["started_rendering"] = time.time()
runtime["current_frame"] = frame
save_runtime_data(runtime, project)
# Now that we found it I think we car actually render it
progress = Popen(['stdbuf', '-o0', blender, "-b",

View file

@ -185,6 +185,7 @@ def read_renders(win):
# pass
runtime = get_runtime_data(win.project)
win.render_runtime = runtime
if int(time.time()) > runtime.get("running", 0) + 100 or not runtime.get("to_render"):
#print("Should be off")