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:
authorCampbell Barton <ideasman42@gmail.com>2009-11-20 18:01:09 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-11-20 18:01:09 +0300
commit854cc87a80ef8526416b931ef735bc6bacb6ede5 (patch)
tree23daca51096463b272c7669efb0cf06d26272935 /source/gameengine
parent320cc0f12a186292078e174f2862a6539ac4d258 (diff)
option to have scripts run on startup for per blendfile UI's
Diffstat (limited to 'source/gameengine')
-rw-r--r--source/gameengine/Ketsji/KX_PythonInit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_PythonInit.cpp b/source/gameengine/Ketsji/KX_PythonInit.cpp
index ae4f3498471..ed422b81ec6 100644
--- a/source/gameengine/Ketsji/KX_PythonInit.cpp
+++ b/source/gameengine/Ketsji/KX_PythonInit.cpp
@@ -1608,7 +1608,7 @@ PyObject *KXpy_import(PyObject *self, PyObject *args)
}
/* Import blender texts as python modules */
- m= bpy_text_import(name, &found);
+ m= bpy_text_import_name(name, &found);
if (m)
return m;