Bugfix for [#17333] Fluid bake memory issues provided by Andre Pinto

This commit is contained in:
Daniel Genrich 2008-10-09 12:19:16 +00:00
parent 158d8022bc
commit 44c01e2621

@ -204,6 +204,7 @@ int elbeemAddMesh(elbeemMesh *mesh) {
ntlGeometryObjModel *obj = new ntlGeometryObjModel( );
gpWorld->getRenderGlobals()->getSimScene()->addGeoClass( obj );
gpWorld->getRenderGlobals()->getRenderScene()->addGeoClass(obj);
obj->initModel(
mesh->numVertices, mesh->vertices, mesh->numTriangles, mesh->triangles,
mesh->channelSizeVertices, mesh->channelVertices );