diff options
Diffstat (limited to 'intern/smoke/intern/FLUID_3D.cpp')
-rw-r--r-- | intern/smoke/intern/FLUID_3D.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/smoke/intern/FLUID_3D.cpp b/intern/smoke/intern/FLUID_3D.cpp index 85d6a7a16b5..780a39e9e1b 100644 --- a/intern/smoke/intern/FLUID_3D.cpp +++ b/intern/smoke/intern/FLUID_3D.cpp @@ -1030,10 +1030,10 @@ void FLUID_3D::project() maxvalue = _pressure[i]; /* HACK: Animated collision object sometimes result in a non converging solvePressurePre() */ - if(_pressure[i] > _dx * _dt) + /*if(_pressure[i] > _dx * _dt) _pressure[i] = _dx * _dt; else if(_pressure[i] < -_dx * _dt) - _pressure[i] = -_dx * _dt; + _pressure[i] = -_dx * _dt;*/ // if(_obstacle[i] && _pressure[i] != 0.0) // printf("BAD PRESSURE i\n"); |