Cycles:
* auto/fixed threads option is used now, patch by Thomas. * remove unused CUDA_LIBRARIES, library is dynamically loaded * fix mesh XML export operator for API update
This commit is contained in:
@@ -37,7 +37,7 @@ Session::Session(const SessionParams& params_)
|
||||
{
|
||||
device_use_gl = (params.device_type == DEVICE_CUDA && !params.background);
|
||||
|
||||
device = Device::create(params.device_type, params.background);
|
||||
device = Device::create(params.device_type, params.background, params.threads);
|
||||
buffers = new RenderBuffers(device);
|
||||
display = new DisplayBuffer(device);
|
||||
|
||||
|
Reference in New Issue
Block a user