forked from bartvdbraak/blender
increase openmp limit for release so low poly meshes don't use openmp threads (which can be slow)
This commit is contained in:
parent
b9333b304c
commit
f6f0ec6dfc
@ -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__ */
|
||||
|
Loading…
Reference in New Issue
Block a user