[Bf-blender-cvs] [a4625b9] master: Cycles: Fix typo in the debug panel commit

Sergey Sharybin noreply at git.blender.org
Thu Jan 14 15:07:22 CET 2016


Commit: a4625b910fe22780267f92c847f6d6d5c702dd85
Author: Sergey Sharybin
Date:   Thu Jan 14 19:07:06 2016 +0500
Branches: master
https://developer.blender.org/rBa4625b910fe22780267f92c847f6d6d5c702dd85

Cycles: Fix typo in the debug panel commit

===================================================================

M	intern/cycles/util/util_debug.cpp

===================================================================

diff --git a/intern/cycles/util/util_debug.cpp b/intern/cycles/util/util_debug.cpp
index d5d9374..6eb8d42 100644
--- a/intern/cycles/util/util_debug.cpp
+++ b/intern/cycles/util/util_debug.cpp
@@ -92,7 +92,7 @@ void DebugFlags::OpenCL::reset()
 	if(getenv("CYCLES_OPENCL_MEGA_KERNEL_TEST") != NULL) {
 		kernel_type = DebugFlags::OpenCL::KERNEL_MEGA;
 	}
-	else if(getenv("CYCLES_OPENCL_MEGA_KERNEL_TEST") != NULL) {
+	else if(getenv("CYCLES_OPENCL_SPLITKERNEL_TEST") != NULL) {
 		kernel_type = DebugFlags::OpenCL::KERNEL_SPLIT;
 	}
 	/* Initialize other flags from environment variables. */




More information about the Bf-blender-cvs mailing list