Merge branch 'blender2.7'
authorJeroen Bakker <j.bakker@atmind.nl>
Tue, 19 Feb 2019 07:05:15 +0000 (08:05 +0100)
committerJeroen Bakker <j.bakker@atmind.nl>
Tue, 19 Feb 2019 07:05:15 +0000 (08:05 +0100)
intern/cycles/blender/addon/properties.py
intern/cycles/util/util_debug.cpp

index c14d701..1ced509 100644 (file)
@@ -723,7 +723,7 @@ class CyclesRenderSettings(bpy.types.PropertyGroup):
 
     debug_opencl_kernel_single_program: BoolProperty(
         name="Single Program",
-        default=True,
+        default=False,
         update=_devices_update_callback,
     )
     del _devices_update_callback
index 68e6f26..cd316c4 100644 (file)
@@ -132,7 +132,7 @@ void DebugFlags::OpenCL::reset()
        }
        /* Initialize other flags from environment variables. */
        debug = (getenv("CYCLES_OPENCL_DEBUG") != NULL);
-       single_program = (getenv("CYCLES_OPENCL_MULTI_PROGRAM") == NULL);
+       single_program = (getenv("CYCLES_OPENCL_SINGLE_PROGRAM") != NULL);
 }
 
 DebugFlags::DebugFlags()