diff --git a/network/during_render.py b/network/during_render.py index d6bbc74..955bea8 100644 --- a/network/during_render.py +++ b/network/during_render.py @@ -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 diff --git a/network/network_renders.py b/network/network_renders.py index 52999aa..1cd4acd 100644 --- a/network/network_renders.py +++ b/network/network_renders.py @@ -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.