Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Thuerey <nils@thuerey.de>2006-11-29 22:28:07 +0300
committerNils Thuerey <nils@thuerey.de>2006-11-29 22:28:07 +0300
commitf1b74d0098f8166655998bfbbd872fcd36d2f7f0 (patch)
tree02d7053a3fe30096a62db83879235f3d29904559 /source/blender/src/fluidsim.c
parent8c6fe1bb1fa3342166e81cfad8310ddc2903e35e (diff)
- fixed particle generation bug tracked down by mpan3&gimble,
- removed warnings in attributes.cpp, - and a first Klockwork bug fix: removed NULL returns in ntl_ray.h, several other issues mentioned in the Klockwork report are either hard to fix or not really errors...
Diffstat (limited to 'source/blender/src/fluidsim.c')
-rw-r--r--source/blender/src/fluidsim.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/source/blender/src/fluidsim.c b/source/blender/src/fluidsim.c
index c1ec6eaee33..f01a315640a 100644
--- a/source/blender/src/fluidsim.c
+++ b/source/blender/src/fluidsim.c
@@ -441,15 +441,6 @@ static int fluidsimSimulateThread(void *unused) { // *ptr) {
return ret;
}
-// called by simulation to set frame no.
-// TODO deprecate...
-void simulateThreadIncreaseFrame(void) {
- /*if(!globalBakeLock) return;
- if(globalBakeState!=0) return; // this means abort...
- SDL_mutexP(globalBakeLock);
- globalBakeFrame++;
- SDL_mutexV(globalBakeLock);*/
-}
int runSimulationCallback(void *data, int status, int frame) {
//elbeemSimulationSettings *settings = (elbeemSimulationSettings*)data;
@@ -967,6 +958,7 @@ void fluidsimBake(struct Object *ob)
int numVerts=0, numTris=0;
int o = channelObjCount;
int deform = (obit->fluidsimSettings->domainNovecgen); // misused value
+ // todo - use blenderInitElbeemMesh
elbeemMesh fsmesh;
elbeemResetMesh( &fsmesh );
fsmesh.type = obit->fluidsimSettings->type;;