CHanged line 101 in PageLOD.cpp to read

if ( in->getVersion() >= VERSION_0006 ) {
              setDatabasePath(in->readString());
          }

instead of
              if ( in->getVersion() > VERSION_0006 ) {
              setDatabasePath(in->readString());
          }

Seems DatabasePath _is_ present in ive files of version 6.
This commit is contained in:
Don BURNS
2005-04-16 04:00:18 +00:00
parent f4be038d46
commit a676f67337

View File

@@ -98,7 +98,7 @@ void PagedLOD::read(DataInputStream* in){
throw Exception("Group::read(): Could not cast this osg::Group to an osg::Node.");
if ( in->getVersion() > VERSION_0006 ) {
if ( in->getVersion() >= VERSION_0006 ) {
setDatabasePath(in->readString());
}