-- Bugfix #2868: NMesh.update(0,0,1) with derived mesh data would cause a

crash.  Hopefully the NMesh module will die a silent death before we
   discovere this doesn't really fix the problem :-)
This commit is contained in:
Ken Hughes
2005-11-29 23:38:40 +00:00
parent adb2d5d88a
commit 00f4310970

View File

@@ -1373,6 +1373,9 @@ static PyObject *NMesh_update( PyObject *self, PyObject *a, PyObject *kwd )
}
base = base->next;
}
/* recalculate the derived mesh before trying to use it */
makeDispListMesh (nmesh->object);
make_vertexcol();
countall();