correct error in recent changes for building with openmp.

rename DM_OMP_LIMIT to BKE_MESH_OMP_LIMIT and set to 0 when in debug mode, same for BM_OMP_LIMIT.
This commit is contained in:
2013-09-09 05:42:26 +00:00
parent 66efedd096
commit 00bd7da674
8 changed files with 19 additions and 9 deletions

View File

@@ -63,6 +63,12 @@ struct UvElement;
extern "C" {
#endif
/* setting zero so we can catch bugs in OpenMP/BMesh */
#ifdef DEBUG
# define BKE_MESH_OMP_LIMIT 0
#else
# define BKE_MESH_OMP_LIMIT 10000
#endif
/* *** mesh.c *** */