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:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user