Blender Git Loki

Git Commits -> Revision 0f91f56

Revision 0f91f56 by Martijn Berger (master)
February 5, 2014, 20:55 (GMT)
Cycles Network rendering, remove some exception throwing, replace with saner error handling

This patch adds a network_error() function more alike how other devices handle error's

- it adds a check for errors on load_kernels to make sure we do not crash if rendering without a server.
- it uses the non throwing variation of boost::asio::read.

Reviewers: brecht

Reviewed By: brecht

CC: brecht

Differential Revision: https://developer.blender.org/D86

Commit Details:

Full Hash: 0f91f56ce3e8bcb6d0600ffabf4ced53c02ca81f
Parent Commit: aa3d88d
Lines Changed: +115, -47

2 Modified Paths:

/intern/cycles/device/device_network.cpp (+47, -27) (Diff)
/intern/cycles/device/device_network.h (+68, -20) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021