diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2003-05-28 08:36:18 +0400 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2003-05-28 08:36:18 +0400 |
commit | b7bf9bf1b721ba9a1a5414179763c35a7557ccef (patch) | |
tree | 11890d5eda93dc2b460792ce69ac8bd820f9a26e /source/blender/python/api2_2x/BGL.c | |
parent | a0e54446f3ac1ba6adf87cd01d4d7b63fbbf538b (diff) |
* Added submodule Blender.Material
* Added submodule Blender.Types:
Blender Type definitions can't be static anymore.
* Some cleanup of now unused defines in Camera.h and Lamp.h
Diffstat (limited to 'source/blender/python/api2_2x/BGL.c')
-rw-r--r-- | source/blender/python/api2_2x/BGL.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/BGL.c b/source/blender/python/api2_2x/BGL.c index 06eef3c0a0d..0f45770c4c8 100644 --- a/source/blender/python/api2_2x/BGL.c +++ b/source/blender/python/api2_2x/BGL.c @@ -64,7 +64,7 @@ static Buffer *make_buffer(int type, int ndimensions, int *dimensions) buf= MEM_mallocN(length*size, "Buffer buffer"); - buffer= (Buffer *) PyObject_NEW(Buffer, &Buffer_Type); + buffer= (Buffer *) PyObject_NEW(Buffer, &buffer_Type); buffer->parent= NULL; buffer->ndimensions= ndimensions; buffer->dimensions= dimensions; @@ -170,7 +170,7 @@ static PyObject *Buffer_item(PyObject *self, int i) } size= type_size(buf->type); - newbuf= (Buffer *) PyObject_NEW(Buffer, &Buffer_Type); + newbuf= (Buffer *) PyObject_NEW(Buffer, &buffer_Type); Py_INCREF(self); newbuf->parent= self; |