==Python API==

Bugfix #3849: "break" instead of "continue" caused memory corruption in
faces.extend() if an edge was given in the middle of parameter list.
This commit is contained in:
Ken Hughes
2006-02-05 19:15:58 +00:00
parent 62782a23bf
commit ccedf6d833

View File

@@ -4111,8 +4111,10 @@ static PyObject *MFaceSeq_extend( BPy_MEdgeSeq * self, PyObject *args )
tmp = PySequence_GetItem( args, i );
nverts = PySequence_Size( tmp );
if( nverts == 2 ) /* again, ignore 2-vert tuples */
break;
if( nverts == 2 ) { /* again, ignore 2-vert tuples */
Py_DECREF( tmp );
continue;
}
/*
* go through some contortions to guarantee the third and fourth