netrender:

sensible timeout on connection attempt
fix for operator api change
This commit is contained in:
2010-03-12 03:12:27 +00:00
parent 86c237b3a5
commit 4faedb3d91
2 changed files with 3 additions and 3 deletions

View File

@@ -104,7 +104,7 @@ class RENDER_OT_netclientanim(bpy.types.Operator):
scene.network_render.job_id = client.clientSendJob(conn, scene, True)
conn.close()
bpy.ops.screen.render('INVOKE_AREA', animation=True)
bpy.ops.render.render('INVOKE_AREA', animation=True)
return {'FINISHED'}
@@ -121,7 +121,7 @@ class RENDER_OT_netclientrun(bpy.types.Operator):
return True
def execute(self, context):
bpy.ops.screen.render('INVOKE_AREA', animation=True)
bpy.ops.render.render('INVOKE_AREA', animation=True)
return {'FINISHED'}