projects
/
blender.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cycles: enable improved closure sampling, this should give less noise for mix, add
[blender.git]
/
intern
/
cycles
/
device
/
device.cpp
diff --git
a/intern/cycles/device/device.cpp
b/intern/cycles/device/device.cpp
index f43ccffe4614afb420fbda639b99c090d530f269..01c5081770943fbed0290d3397700ffbb0420a1e 100644
(file)
--- a/
intern/cycles/device/device.cpp
+++ b/
intern/cycles/device/device.cpp
@@
-157,6
+157,8
@@
Device *Device::create(DeviceType type, bool background, int threads)
return NULL;
}
+ device->device_type = type;
+
return device;
}