diff --git a/examples/osgterrain/osgterrain.cpp b/examples/osgterrain/osgterrain.cpp index 4dd036fad..a074c5659 100644 --- a/examples/osgterrain/osgterrain.cpp +++ b/examples/osgterrain/osgterrain.cpp @@ -198,7 +198,6 @@ public: // osg::notify(osg::NOTICE)<<"Now equal "<reset(); typedef std::list< osg::ref_ptr > LoadAndCompileList; LoadAndCompileList loadAndCompileList; @@ -257,18 +264,21 @@ public: nitr != newFiles.end(); ++nitr) { + // osg::notify(osg::NOTICE)<<"Adding LoadAndCompileOperation "<<*nitr< loadAndCompile = new LoadAndCompileOperation( *nitr, threads, _endOfLoadBlock.get() ); loadAndCompileList.push_back(loadAndCompile); _operationQueue->add( loadAndCompile.get() ); } - + +#if 1 osg::ref_ptr operation; while ((operation=_operationQueue->getNextOperation()).valid()) { // osg::notify(osg::NOTICE)<<"Local running of operation"<block(); // osg::notify(osg::NOTICE)<<"done ... Waiting for completion of LoadAndCompile operations"<