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

@ -237,6 +237,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

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")
@ -240,7 +241,7 @@ def read_renders(win):
frame = int(blend_string[4:blend_string.find(" ")])
except:
pass
win.renders[blend]["current_frame"] = frame
# The rest of it I will do in the UI.