Bugfix for [#17333] Fluid bake memory issues provided by Andre Pinto
authorDaniel Genrich <daniel.genrich@gmx.net>
Thu, 9 Oct 2008 12:19:16 +0000 (12:19 +0000)
committerDaniel Genrich <daniel.genrich@gmx.net>
Thu, 9 Oct 2008 12:19:16 +0000 (12:19 +0000)
intern/elbeem/intern/elbeem.cpp

index f792332..179e103 100644 (file)
@@ -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 );