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:
@@ -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 *** */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user