diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-11-11 13:51:40 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-11-11 13:51:40 +0300 |
commit | 1d84b6bb3c2067c25c1a9a2b64272b641c9b00c9 (patch) | |
tree | 093b43f41e0d2e90d7a3d854f496d1be59ae9c70 /source/blender/python | |
parent | 4157e51a251762384298836b027983f4b4cc6c08 (diff) |
Nodes Editor + other warning fixes:
* Added 'active node' panel for the Nodes Editor. This panel, in the NKEY region, shows the settings for the active node. Included in this panel is a field used for editing the unique-name of the node too.
* Fixed a number of uninitialised vars warnings that I missed in previous commit...
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/intern/bpy_operator.c | 2 | ||||
-rw-r--r-- | source/blender/python/intern/bpy_rna.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/intern/bpy_operator.c b/source/blender/python/intern/bpy_operator.c index 1ae0a40ce16..b1577969a22 100644 --- a/source/blender/python/intern/bpy_operator.c +++ b/source/blender/python/intern/bpy_operator.c @@ -153,7 +153,7 @@ static PyObject *pyop_as_string( PyObject * self, PyObject * args) int all_args = 1; int error_val= 0; - char *buf; + char *buf = NULL; PyObject *pybuf; bContext *C = BPy_GetContext(); diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c index 76a1b860520..d490debdce6 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -1757,7 +1757,7 @@ static int foreach_compat_buffer(RawPropertyType raw_type, int attr_signed, cons static PyObject *foreach_getset(BPy_PropertyRNA *self, PyObject *args, int set) { PyObject *item = NULL; - int i=0, ok, buffer_is_compat; + int i=0, ok=0, buffer_is_compat; void *array= NULL; /* get/set both take the same args currently */ |