Changeset 1046 for trunk

Show
Ignore:
Timestamp:
01/02/12 17:02:49 (5 months ago)
Author:
robert
Message:

From Torben Dannhauer, "If one resumes a VPB run with reading in a taskfile, vpbmaster immediately starts to read in the taskfile without a single output line. Depending on the database size the build_master.tasks file could be large and reading in takes several minutes.

I added an output message to taskmanager::read() before it reads in the file to indicate vpbmaster is not hanging but working already."

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/vpb/TaskManager.cpp

    r1042 r1046  
    828828bool TaskManager::readTasks(const std::string& filename) 
    829829{ 
     830    log(osg::NOTICE,"Reading tasks from file..."); 
     831 
    830832    std::string foundFile = osgDB::findDataFile(filename); 
    831833    if (foundFile.empty()) 
     
    894896    } 
    895897     
     898    log(osg::NOTICE,"Task file read"); 
    896899    return false; 
    897900}