diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-06-13 15:59:28 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-06-13 15:59:28 +0400 |
commit | cda5770160e11c2d3c7ab7d20e24a7a8f3b28f1f (patch) | |
tree | 5ba33f204de8e68c8d81a5a27b9762f3fb684991 /source/blender/bmesh | |
parent | eb136fcbec33288411838dae8105fa17dc8ffecd (diff) |
code cleanup: also fix crash in GPU_state_print(). and confine to debug mode builds.
Diffstat (limited to 'source/blender/bmesh')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_interp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |