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:
authorCampbell Barton <ideasman42@gmail.com>2006-12-15 12:58:16 +0300
committerCampbell Barton <ideasman42@gmail.com>2006-12-15 12:58:16 +0300
commit956add11b434ab155ec5339852d7177dfc0e385a (patch)
tree8027b9d2f08663ac1751384ffc39f422943c2e09 /source/blender/python/api2_2x/Scene.c
parent65d5b47a10fa2d05cca84f8b83aac00645676c3c (diff)
Wasnt initializing a pointer as null, messed up making new object names
Diffstat (limited to 'source/blender/python/api2_2x/Scene.c')
-rw-r--r--source/blender/python/api2_2x/Scene.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Scene.c b/source/blender/python/api2_2x/Scene.c
index e5757a344ef..eb204619f2a 100644
--- a/source/blender/python/api2_2x/Scene.c
+++ b/source/blender/python/api2_2x/Scene.c
@@ -1303,7 +1303,7 @@ static PyObject *SceneObSeq_link( BPy_SceneObSeq * self, PyObject *pyobj )
static PyObject *SceneObSeq_new( BPy_SceneObSeq * self, PyObject *args )
{
void *data = NULL;
- char *name;
+ char *name = NULL;
short type = OB_EMPTY;
struct Object *object;
Base *base;