Fixed permissions

This commit is contained in:
Robert Osfield
2010-06-03 16:02:01 +00:00
parent bca82dffcd
commit 634e55eee3
6 changed files with 22 additions and 0 deletions

View File

@@ -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<osg::Node*> s_registedSet;
OSG_NOTICE<<"DatabasePager::registerPagedLODs("<<subgraph<<") "<<frameNumber<<std::endl;
if (s_registedSet.count(subgraph)!=0)
{
OSG_NOTICE<<"DatabasePager::registerPagedLODs("<<subgraph<<") subgraph already registered"<<std::endl;
}
else
{
s_registedSet.insert(subgraph);
}
FindPagedLODsVisitor fplv(*_activePagedLODList, frameNumber);
subgraph->accept(fplv);
}
bool DatabasePager::requiresCompileGLObjects() const

0
src/osgPlugins/vrml/LICENSE.txt Executable file → Normal file
View File

0
src/osgViewer/DarwinUtils.h Executable file → Normal file
View File

0
src/osgViewer/DarwinUtils.mm Executable file → Normal file
View File

0
src/osgViewer/GraphicsWindowCocoa.mm Executable file → Normal file
View File

0
src/osgViewer/PixelBufferCocoa.mm Executable file → Normal file
View File