From 634e55eee390f3230ab3f864b38696b89d2302fe Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 3 Jun 2010 16:02:01 +0000 Subject: [PATCH] Fixed permissions --- src/osgDB/DatabasePager.cpp | 22 ++++++++++++++++++++++ src/osgPlugins/vrml/LICENSE.txt | 0 src/osgViewer/DarwinUtils.h | 0 src/osgViewer/DarwinUtils.mm | 0 src/osgViewer/GraphicsWindowCocoa.mm | 0 src/osgViewer/PixelBufferCocoa.mm | 0 6 files changed, 22 insertions(+) mode change 100755 => 100644 src/osgPlugins/vrml/LICENSE.txt mode change 100755 => 100644 src/osgViewer/DarwinUtils.h mode change 100755 => 100644 src/osgViewer/DarwinUtils.mm mode change 100755 => 100644 src/osgViewer/GraphicsWindowCocoa.mm mode change 100755 => 100644 src/osgViewer/PixelBufferCocoa.mm 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