Fixed warning

This commit is contained in:
Robert Osfield
2009-06-26 08:14:09 +00:00
parent 214e1b81ed
commit a58ea5c87c

View File

@@ -1270,12 +1270,13 @@ void DatabasePager::requestNodeFile(const std::string& fileName,osg::Group* grou
if (!_acceptNewRequests) return;
osg::Timer_t start_tick = osg::Timer::instance()->tick();
double timestamp = framestamp?framestamp->getReferenceTime():0.0;
int frameNumber = framestamp?framestamp->getFrameNumber():_frameNumber;
// #define WITH_REQUESTNODEFILE_TIMING
#ifdef WITH_REQUESTNODEFILE_TIMING
osg::Timer_t start_tick = osg::Timer::instance()->tick();
static int previousFrame = -1;
static double totalTime = 0.0;