Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-12-12 11:20:34 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-12-12 11:20:34 +0400
commit2ee180eab678c0b21e92aa0175ad93528d9009ae (patch)
tree54455d3ee395cb006667e26d12189bb3705bda81 /source/blender/bmesh/bmesh_class.h
parent3e8b56b321225b5fce0e02130a3de2f770b19441 (diff)
add threshold for bmesh & openmp so its not used with low poly meshes, BM_OMP_LIMIT may need tweaking.
Diffstat (limited to 'source/blender/bmesh/bmesh_class.h')
-rw-r--r--source/blender/bmesh/bmesh_class.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/bmesh/bmesh_class.h b/source/blender/bmesh/bmesh_class.h
index 4a370a24c7d..7520164bf61 100644
--- a/source/blender/bmesh/bmesh_class.h
+++ b/source/blender/bmesh/bmesh_class.h
@@ -277,5 +277,6 @@ enum {
* but should not error on valid cases */
#define BM_LOOP_RADIAL_MAX 10000
#define BM_NGON_MAX 100000
+#define BM_OMP_LIMIT 10000
#endif /* __BMESH_CLASS_H__ */