wasnt decref'ing items I got from PySequence_GetItem for PolyFill or ob.join() fixed and tested, memory dosent increse when used in a large loop.
This commit is contained in:
@@ -2077,6 +2077,7 @@ static PyObject *Object_join( BPy_Object * self, PyObject * args )
|
||||
} else {
|
||||
/* List item is an object, is it the same type? */
|
||||
child = ( Object * ) Object_FromPyObject( py_child );
|
||||
Py_DECREF (py_child);
|
||||
if (parent->type == child->type) {
|
||||
|
||||
if (object_in_scene( child, G.scene )==NULL) {
|
||||
|
||||
Reference in New Issue
Block a user