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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-06-22 19:09:41 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-06-22 19:09:41 +0400
commite0368d31a5b3a593d9650de688fdaf77e6975103 (patch)
tree2beda97970dc6e435ae1af16eb008a8237c668b1 /source/blender/blenkernel/intern/CCGSubSurf.h
parent844274c27ab557c53288ead3944c2981e700f962 (diff)
Enabled openmp multithreading for multires/subsurf again, but only
if there are >= 1 million faces estimated in the resulting mesh. (merge from render25 branch)
Diffstat (limited to 'source/blender/blenkernel/intern/CCGSubSurf.h')
-rw-r--r--source/blender/blenkernel/intern/CCGSubSurf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/CCGSubSurf.h b/source/blender/blenkernel/intern/CCGSubSurf.h
index 12212c7a37b..34d684221b0 100644
--- a/source/blender/blenkernel/intern/CCGSubSurf.h
+++ b/source/blender/blenkernel/intern/CCGSubSurf.h
@@ -39,6 +39,10 @@ typedef enum {
/***/
+#define CCG_OMP_LIMIT 1000000
+
+/***/
+
typedef struct _CCGSubSurf CCGSubSurf;
CCGSubSurf* ccgSubSurf_new (CCGMeshIFC *ifc, int subdivisionLevels, CCGAllocatorIFC *allocatorIFC, CCGAllocatorHDL allocator);