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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-05-20 13:17:21 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-05-20 13:17:21 +0400
commitd80911b8675582dca46ce78c17d5434b66a27f18 (patch)
treedcb1c32f10273f99fa2e3872f654387fabd27c7d /source/blender/python/intern/bpy_operator_wrap.c
parenta1cc5ef8eb5ff4c2991199d286e572f1b6eaf4c6 (diff)
RNA: ID properties were not being shown as RNA properties anymore, fixed.
Python: fix two warnings (initialize to NULL).
Diffstat (limited to 'source/blender/python/intern/bpy_operator_wrap.c')
-rw-r--r--source/blender/python/intern/bpy_operator_wrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_operator_wrap.c b/source/blender/python/intern/bpy_operator_wrap.c
index 4fa72fe18bc..43d62b3005f 100644
--- a/source/blender/python/intern/bpy_operator_wrap.c
+++ b/source/blender/python/intern/bpy_operator_wrap.c
@@ -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();