[Bf-blender-cvs] [b6646c6] master: Bummer, forgot to test with OSL disabled.

Sergey Sharybin noreply at git.blender.org
Sun Dec 8 10:20:56 CET 2013


Commit: b6646c6a2a92d72b92a03c4ee8ad655ff4f86c5e
Author: Sergey Sharybin
Date:   Sun Dec 8 15:19:21 2013 +0600
http://developer.blender.org/rBb6646c6a2a92d72b92a03c4ee8ad655ff4f86c5e

Bummer, forgot to test with OSL disabled.

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

M	intern/cycles/blender/blender_python.cpp

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

diff --git a/intern/cycles/blender/blender_python.cpp b/intern/cycles/blender/blender_python.cpp
index f10b185..22c425a 100644
--- a/intern/cycles/blender/blender_python.cpp
+++ b/intern/cycles/blender/blender_python.cpp
@@ -492,8 +492,8 @@ void *CCL_python_module_init()
 #else
 	PyModule_AddObject(mod, "with_osl", Py_False);
 	Py_INCREF(Py_False);
-	PyModule_AddStringCOnstant(mod, "osl_version", "unknown");
-	PyModule_AddStringCOnstant(mod, "osl_version_string", "unknown");
+	PyModule_AddStringConstant(mod, "osl_version", "unknown");
+	PyModule_AddStringConstant(mod, "osl_version_string", "unknown");
 #endif
 
 #ifdef WITH_NETWORK




More information about the Bf-blender-cvs mailing list