def execute(self, context): scene = context.scene conn = clientConnection(scene) if conn: # Sending file scene.network_render.job_id = client.clientSendJob(conn, scene, True) conn.close() return ('FINISHED',)
def execute(self, context): scene = context.scene conn = clientConnection(scene) if conn: # Sending file scene.network_render.job_id = client.clientSendJob(conn, scene, True) conn.close() bpy.ops.screen.render('INVOKE_AREA', animation=True) return ('FINISHED',)
def execute(self, context): scene = context.scene netsettings = scene.network_render conn = clientConnection(netsettings.server_address, netsettings.server_port, self.report) if conn: # Sending file scene.network_render.job_id = client.clientSendJob(conn, scene, True) conn.close() bpy.ops.render.render('INVOKE_AREA', animation=True) return {'FINISHED'}
def execute(self, context): scene = context.scene netsettings = scene.network_render conn = clientConnection(netsettings.server_address, netsettings.server_port, self.report) if conn: # Sending file scene.network_render.job_id = client.clientSendJob( conn, scene, True) conn.close() bpy.ops.render.render('INVOKE_AREA', animation=True) return {'FINISHED'}
def execute(self, context): scene = context.scene netsettings = scene.network_render try: conn = clientConnection(netsettings.server_address, netsettings.server_port, self.report) if conn: # Sending file scene.network_render.job_id = client.clientSendJob(conn, scene, False) conn.close() self.report('INFO', "Job sent to master") except Exception as err: self.report('ERROR', str(err)) return {'FINISHED'}
def execute(self, context): scene = context.scene netsettings = scene.network_render try: conn = clientConnection(netsettings.server_address, netsettings.server_port, self.report) if conn: # Sending file scene.network_render.job_id = client.clientSendJob( conn, scene, False) conn.close() self.report('INFO', "Job sent to master") except Exception as err: self.report('ERROR', str(err)) return {'FINISHED'}