Commit c69b05a1 authored by Mike Kremer's avatar Mike Kremer

Reverted checkin from before. Avoiding usage of OpenMP on Darwin per CMake...

Reverted checkin from before. Avoiding usage of OpenMP on Darwin per CMake setting since it always crashed.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11409 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 2016c150
......@@ -106,11 +106,7 @@ void MeanCurvaturePlugin::computeMeanCurvature(MeshT* _mesh) {
for ( typename MeshT::VertexIter v_it = _mesh->vertices_begin() ; v_it != _mesh->vertices_end(); ++v_it)
handles.push_back( v_it.handle() );
/*
* OMP parallelization fails for some
* reason on Darwin architectures.
*/
#if defined(USE_OPENMP) && !defined(__APPLE__)
#ifdef USE_OPENMP
#pragma omp parallel for
#endif
for ( int i = 0 ; i < (int)handles.size(); ++i ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment