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

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libslic3r/Thread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libslic3r/Thread.cpp b/src/libslic3r/Thread.cpp
index fc4debc69..a77f6bc91 100644
--- a/src/libslic3r/Thread.cpp
+++ b/src/libslic3r/Thread.cpp
@@ -202,11 +202,11 @@ void name_tbb_thread_pool_threads_set_locale()
const size_t nthreads_hw = tbb::this_task_arena::max_concurrency();
size_t nthreads = nthreads_hw;
-//#ifdef SLIC3R_PROFILE
+#ifdef SLIC3R_PROFILE
// Shiny profiler is not thread safe, thus disable parallelization.
disable_multi_threading();
nthreads = 1;
-//#endif
+#endif
size_t nthreads_running(0);
std::condition_variable cv;