From f831e0ba9966b7a82f2a340bb63e18b22626be56 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Thu, 10 Oct 2013 15:32:01 +0200 Subject: [PATCH] bugfix --- src/shapes/heightfield.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shapes/heightfield.cpp b/src/shapes/heightfield.cpp index d2d87dbc..16deafab 100644 --- a/src/shapes/heightfield.cpp +++ b/src/shapes/heightfield.cpp @@ -527,7 +527,7 @@ public: memset(m_normals, 0, size); storageSize += size; - for (int offset=0; offset<1; ++offset) { + for (int offset=0; offset<2; ++offset) { #if defined(MTS_OPENMP) #pragma omp parallel for #endif