unfix previous fix.

Scene and Text don't need their user counts adjusted.
This commit is contained in:
Stephen Swaney
2003-11-12 07:46:07 +00:00
parent 2403120f33
commit bd993f13d4
2 changed files with 8 additions and 4 deletions

View File

@@ -50,8 +50,8 @@ static PyObject *M_Text_New(PyObject *self, PyObject *args, PyObject *keywords)
bl_text = add_empty_text();
if (bl_text) {
/* return user count to zero because add_empty_text() inc'd it */
bl_text->id.us = 0;
/* do not set user count because Text is already linked */
/* create python wrapper obj */
py_text = Text_CreatePyObject (bl_text);
}