Commit 9bfbe7a9 authored by Matthias Möller's avatar Matthias Möller

using signed variable for openmp expression

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17527 383ad7c9-94d9-4d36-a494-682f7c89f535
parent d31db92a
......@@ -229,7 +229,10 @@ bool SplatCloudObjectSelectionPlugin::splatCloudVolumeSelection( SplatCloud *_sp
SplatCloud::Selection selection = !_deselection;
unsigned int i, num = _splatCloud->numSplats();
int i, num = static_cast<int>(_splatCloud->numSplats());
#ifdef USE_OPENMP
#pragma omp parallel for
#endif
for( i=0; i<num; ++i )
{
const SplatCloud::Position &pos = _splatCloud->positions( i );
......@@ -291,10 +294,6 @@ 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