object_find, didnt get images from an objects material textures

KX_PythonInit.cpp - own error in recent commit.
This commit is contained in:
2008-09-06 17:04:54 +00:00
parent 601979fc15
commit c7fe2199a7
2 changed files with 14 additions and 2 deletions

View File

@@ -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);