From 0a383d857c20e64401b89f093a663b710ad3f4a5 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sat, 19 Jan 2008 13:41:43 +0000 Subject: [PATCH] Added debugging messages to help monitor expiry of inactive children. Debug messages current #if 0'd out, but added now for future tests when required. --- src/osgDB/DatabasePager.cpp | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/src/osgDB/DatabasePager.cpp b/src/osgDB/DatabasePager.cpp index f74c0d58a..52c9c2a62 100644 --- a/src/osgDB/DatabasePager.cpp +++ b/src/osgDB/DatabasePager.cpp @@ -908,7 +908,8 @@ void DatabasePager::addLoadedDataToSceneGraph(double timeStamp) void DatabasePager::removeExpiredSubgraphs(double currentFrameTime) { //osg::notify(osg::NOTICE)<<"DatabasePager::removeExpiredSubgraphs()"<tick(); double expiryTime = currentFrameTime - _expiryDelay; @@ -1016,6 +1017,27 @@ void DatabasePager::removeExpiredSubgraphs(double currentFrameTime) //osg::notify(osg::NOTICE)<<" time 1 "<