Commit d31db92a authored by Matthias Möller's avatar Matthias Möller

add openmp

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17526 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 8c1a015c
......@@ -291,6 +291,10 @@ void SplatCloudObjectSelectionPlugin::splatCloudColorizeSelection( SplatCloud *_
SplatCloud::Color color( r, g, b ); // drop alpha
unsigned int i, num = _splatCloud->numSplats();
#ifdef USE_OPENMP
#pragma omp parallel for
#endif
for( i=0; i<num; ++i )
{
if( _splatCloud->selections( 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