RNA: ID properties were not being shown as RNA properties anymore, fixed.

Python: fix two warnings (initialize to NULL).
This commit is contained in:
2009-05-20 09:17:21 +00:00
parent a1cc5ef8eb
commit d80911b867
4 changed files with 7 additions and 4 deletions

View File

@@ -187,7 +187,7 @@ static int PYTHON_OT_generic(int mode, bContext *C, wmOperator *op, wmEvent *eve
{
PyObject *py_class = op->type->pyop_data;
PyObject *args;
PyObject *ret= NULL, *py_class_instance, *item;
PyObject *ret= NULL, *py_class_instance, *item= NULL;
int ret_flag= (mode==PYOP_POLL ? 0:OPERATOR_CANCELLED);
PyGILState_STATE gilstate = PyGILState_Ensure();