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:
2009-12-21 02:46:19 +00:00
parent 5affd02156
commit c050f5f1de
2 changed files with 5 additions and 0 deletions

View File

@@ -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)