From Brad Christiansen, "Attached is a fix which implements the lazy loading of optional layers (if requested) in the new osgb/osgt formats."

This commit is contained in:
Robert Osfield
2011-01-14 11:00:11 +00:00
parent 7c30f204e8
commit b0dd272186
3 changed files with 45 additions and 5 deletions

View File

@@ -136,7 +136,7 @@ public:
// Global reading functions
osg::Array* readArray();
osg::PrimitiveSet* readPrimitiveSet();
osg::Image* readImage();
osg::Image* readImage(bool readFromExternal=true);
osg::Object* readObject( osg::Object* existingObj=0 );
osg::Object* readObjectFields( const std::string& className, osg::Object* existingObj=0);