diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-09-06 21:04:54 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-09-06 21:04:54 +0400 |
commit | c7fe2199a736eff39fba5e5400a150511815525d (patch) | |
tree | f0c1720be5adf99ccd53803580aff9d68036d4d9 /source/gameengine/Ketsji/KX_PythonInit.cpp | |
parent | 601979fc15ccbc69b96f62563638c8b755152942 (diff) |
object_find, didnt get images from an objects material textures
KX_PythonInit.cpp - own error in recent commit.
Diffstat (limited to 'source/gameengine/Ketsji/KX_PythonInit.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_PythonInit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_PythonInit.cpp b/source/gameengine/Ketsji/KX_PythonInit.cpp index fe6294e7626..eb0052d71ff 100644 --- a/source/gameengine/Ketsji/KX_PythonInit.cpp +++ b/source/gameengine/Ketsji/KX_PythonInit.cpp @@ -696,7 +696,7 @@ static PyObject* gPySetGLSLMaterialSetting(PyObject*, char *setting; int enable, flag; - if (PyArg_ParseTuple(args,"si",&setting,&enable)) + if (!PyArg_ParseTuple(args,"si",&setting,&enable)) return NULL; flag = getGLSLSettingFlag(setting); |