From cda5770160e11c2d3c7ab7d20e24a7a8f3b28f1f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 13 Jun 2013 11:59:28 +0000 Subject: code cleanup: also fix crash in GPU_state_print(). and confine to debug mode builds. --- source/blender/bmesh/intern/bmesh_interp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/bmesh/intern/bmesh_interp.c') diff --git a/source/blender/bmesh/intern/bmesh_interp.c b/source/blender/bmesh/intern/bmesh_interp.c index 9c85a4fc4e5..454eb201b78 100644 --- a/source/blender/bmesh/intern/bmesh_interp.c +++ b/source/blender/bmesh/intern/bmesh_interp.c @@ -465,7 +465,7 @@ static void bm_loop_interp_mdisps(BMesh *bm, BMLoop *target, BMFace *source) res = (int)sqrt(mdisps->totdisp); d = 1.0f / (float)(res - 1); - #pragma omp parallel for if(res > 3) +#pragma omp parallel for if (res > 3) for (ix = 0; ix < res; ix++) { float x = d * ix, y; int iy; -- cgit v1.2.3