diff options
author | Campbell Barton <ideasman42@gmail.com> | 2006-12-15 12:58:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2006-12-15 12:58:16 +0300 |
commit | 956add11b434ab155ec5339852d7177dfc0e385a (patch) | |
tree | 8027b9d2f08663ac1751384ffc39f422943c2e09 /source/blender/python/api2_2x/Scene.c | |
parent | 65d5b47a10fa2d05cca84f8b83aac00645676c3c (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.c | 2 |
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; |