diff options
author | Subv <subv2112@gmail.com> | 2013-09-27 18:27:10 -0700 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2013-09-27 18:27:10 -0700 |
commit | cde2e4d6c96614d1d34a3578a77a369e38fc677c (patch) | |
tree | f108824b9833a2e43aec62c16c93ceed95b3e73b | |
parent | 85d6b7b7b347182a9fe9c07b9cb77be3ac09f036 (diff) | |
parent | 58348d036218d1b1a6ee85c46eff1fa5c3e3adf6 (diff) |
Merge pull request #10963 from Tomatodev/master
Tools/MeshExtractor: Fixed an infinite loop when reading the liquid information
-rw-r--r-- | src/tools/mesh_extractor/LiquidHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/mesh_extractor/LiquidHandler.cpp b/src/tools/mesh_extractor/LiquidHandler.cpp index 285ea1a5b74..33a661a9adf 100644 --- a/src/tools/mesh_extractor/LiquidHandler.cpp +++ b/src/tools/mesh_extractor/LiquidHandler.cpp @@ -34,7 +34,7 @@ void LiquidHandler::HandleNewLiquid() H2OInformation information = H2OInformation::Read(stream); float** heights = new float*[9]; - for (int j = 0; j < 9; ++i) + for (int j = 0; j < 9; ++j) { heights[j] = new float[9]; memset(heights[j], 0, sizeof(float) * 9); |