increase openmp limit for release so low poly meshes don't use openmp threads (which can be slow)

This commit is contained in:
Campbell Barton 2013-02-20 15:34:31 +00:00
parent b9333b304c
commit f6f0ec6dfc
2 changed files with 2 additions and 2 deletions

@ -95,7 +95,7 @@ struct BMEditMesh;
struct ListBase;
struct PBVH;
#define DM_OMP_LIMIT 0 /* setting zero so we can catch bugs in OpenMP/BMesh */
#define DM_OMP_LIMIT 10000 /* setting zero so we can catch bugs in OpenMP/BMesh */
/* number of sub-elements each mesh element has (for interpolation) */
#define SUB_ELEMS_VERT 0

@ -288,6 +288,6 @@ enum {
* but should not error on valid cases */
#define BM_LOOP_RADIAL_MAX 10000
#define BM_NGON_MAX 100000
#define BM_OMP_LIMIT 0 /* setting zero so we can catch bugs in OpenMP/BMesh */
#define BM_OMP_LIMIT 10000 /* setting zero so we can catch bugs in OpenMP/BMesh */
#endif /* __BMESH_CLASS_H__ */