diff options
Diffstat (limited to 'intern')
-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 05fbb918d24..27218d2682c 100644 --- a/intern/smoke/intern/FLUID_3D.cpp +++ b/intern/smoke/intern/FLUID_3D.cpp @@ -605,7 +605,7 @@ void FLUID_3D::copyBorderAll(float* field, int zBegin, int zEnd) int zSize = zEnd-zBegin; int _blockTotalCells=_slabSize * zSize; - if ((zBegin==0)) + if (zBegin==0) for (int y = 0; y < _yRes; y++) for (int x = 0; x < _xRes; x++) { @@ -723,7 +723,7 @@ void FLUID_3D::wipeBoundariesSL(int zBegin, int zEnd) const int totalCells = _xRes * _yRes * _zRes; index = 0; - if ((zBegin == 0)) + if (zBegin == 0) for (y = 0; y < _yRes; y++) for (x = 0; x < _xRes; x++, index++) { |