Bugfix for [#17333] Fluid bake memory issues provided by Andre Pinto
This commit is contained in:
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 );
|
||||
|
Loading…
Reference in New Issue
Block a user