increase openmp limit for release so low poly meshes don't use openmp threads (which can be slow)
This commit is contained in:
@@ -95,7 +95,7 @@ struct BMEditMesh;
|
|||||||
struct ListBase;
|
struct ListBase;
|
||||||
struct PBVH;
|
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) */
|
/* number of sub-elements each mesh element has (for interpolation) */
|
||||||
#define SUB_ELEMS_VERT 0
|
#define SUB_ELEMS_VERT 0
|
||||||
|
@@ -288,6 +288,6 @@ enum {
|
|||||||
* but should not error on valid cases */
|
* but should not error on valid cases */
|
||||||
#define BM_LOOP_RADIAL_MAX 10000
|
#define BM_LOOP_RADIAL_MAX 10000
|
||||||
#define BM_NGON_MAX 100000
|
#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__ */
|
#endif /* __BMESH_CLASS_H__ */
|
||||||
|
Reference in New Issue
Block a user