Cycles:
* Fix missing update when editing objects with emission materials. * Fix preview pass rendering set to 1 not showing full resolution. * Fix CUDA runtime compiling failing due to missing cache directory. * Use settings from first render layer for visibility and material override. And a bunch of incomplete and still disabled code mostly related to closure sampling.
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
|
||||
#ifdef __KERNEL_CPU__
|
||||
|
||||
#ifdef WITH_OSL
|
||||
#ifdef __OSL__
|
||||
#include "osl_globals.h"
|
||||
#endif
|
||||
|
||||
@@ -43,7 +43,7 @@ typedef struct KernelGlobals {
|
||||
|
||||
KernelData __data;
|
||||
|
||||
#ifdef WITH_OSL
|
||||
#ifdef __OSL__
|
||||
/* On the CPU, we also have the OSL globals here. Most data structures are shared
|
||||
with SVM, the difference is in the shaders and object/mesh attributes. */
|
||||
OSLGlobals osl;
|
||||
|
Reference in New Issue
Block a user