- fix for using ['prop'] in RNA api

- fix for testing without USE_PY_METACLASS defined.
This commit is contained in:
2010-09-09 06:06:37 +00:00
parent f4be9a6393
commit ced3f3ad15
3 changed files with 4 additions and 4 deletions

View File

@@ -123,7 +123,7 @@ static PyObject *bpy_prop_deferred_return(PyObject *func, PyObject *kw)
PyErr_SetString(PyExc_ValueError, "all args must be keywords"); \
return NULL; \
} \
srna= srna_from_self(self, "##_func(...):"); \
srna= srna_from_self(self, #_func"(...):"); \
if(srna==NULL) { \
if(PyErr_Occurred()) \
return NULL; \