From 6b48e4b1ea71d12d065cf68a3dd56997f663fff8 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 26 Jan 2009 10:35:16 +0000 Subject: [PATCH] From Rick Appleton, "In DatabasePager.cpp I believe there's a copy-paste ommission. A little bit further down the file where the Drawables are compiled the code is similar to how I have fixed the code here for the StateSets. If the DatabasePager thread is supposed to pre-compile things, it will call the compileGLObjects such that compileAll will be true. However, when compiling StateSets compileAll isn't currently checked." --- src/osgDB/DatabasePager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgDB/DatabasePager.cpp b/src/osgDB/DatabasePager.cpp index 695dd7a1f..0e43fb304 100644 --- a/src/osgDB/DatabasePager.cpp +++ b/src/osgDB/DatabasePager.cpp @@ -1994,7 +1994,7 @@ void DatabasePager::compileGLObjects(osg::State& state, double& availableTime) StateSetList::iterator itr=sslist.begin(); unsigned int objTemp = numObjectsCompiled; for(; - itr!=sslist.end() && (elapsedTime+estimatedTextureDuration)