Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2013-12-08 13:19:21 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-12-08 13:19:59 +0400
commitb6646c6a2a92d72b92a03c4ee8ad655ff4f86c5e (patch)
treea68603a6c8f0990bafa730ea5298d068c6e73911
parent0d71d0a8f07b36727d56cd756adbb6816618c06a (diff)
Bummer, forgot to test with OSL disabled.
-rw-r--r--intern/cycles/blender/blender_python.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/blender/blender_python.cpp b/intern/cycles/blender/blender_python.cpp
index f10b185287d..22c425aa332 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