netrender
- Add "Get Result" button after a job has been sent (this calls Animate and fetches the results back as render result buffers) - Rendering (animate or single frame) without an active job was broken. Note that this launches a new job for each frame (it's impossible in a render engine to know if an animation is being rendered or a single frame only).
This commit is contained in:
@@ -229,7 +229,10 @@ class NetworkRenderEngine(bpy.types.RenderEngine):
|
||||
if response.status == http.client.NO_CONTENT:
|
||||
new_job = True
|
||||
netsettings.job_id = clientSendJob(conn, scene)
|
||||
job_id = netsettings.job_id
|
||||
|
||||
requestResult(conn, job_id, scene.current_frame)
|
||||
response = conn.getresponse()
|
||||
|
||||
while response.status == http.client.ACCEPTED and not self.test_break():
|
||||
time.sleep(1)
|
||||
|
||||
Reference in New Issue
Block a user