diff --git a/src/osgDB/DatabasePager.cpp b/src/osgDB/DatabasePager.cpp index e53b6d7c2..0ea806cfa 100644 --- a/src/osgDB/DatabasePager.cpp +++ b/src/osgDB/DatabasePager.cpp @@ -266,6 +266,12 @@ public: _pagedLODs.insert(plod); } + + virtual bool containsPagedLOD(osg::PagedLOD* plod) + { + return (_pagedLODs.count(plod)!=0); + } + }; @@ -1862,11 +1868,27 @@ protected: FindPagedLODsVisitor& operator = (const FindPagedLODsVisitor&) { return *this; } }; + void DatabasePager::registerPagedLODs(osg::Node* subgraph, int frameNumber) { if (!subgraph) return; + + static std::set s_registedSet; + + OSG_NOTICE<<"DatabasePager::registerPagedLODs("<accept(fplv); + } bool DatabasePager::requiresCompileGLObjects() const diff --git a/src/osgPlugins/vrml/LICENSE.txt b/src/osgPlugins/vrml/LICENSE.txt old mode 100755 new mode 100644 diff --git a/src/osgViewer/DarwinUtils.h b/src/osgViewer/DarwinUtils.h old mode 100755 new mode 100644 diff --git a/src/osgViewer/DarwinUtils.mm b/src/osgViewer/DarwinUtils.mm old mode 100755 new mode 100644 diff --git a/src/osgViewer/GraphicsWindowCocoa.mm b/src/osgViewer/GraphicsWindowCocoa.mm old mode 100755 new mode 100644 diff --git a/src/osgViewer/PixelBufferCocoa.mm b/src/osgViewer/PixelBufferCocoa.mm old mode 100755 new mode 100644