From a676f673379a45f5105ecc9dd76d775f1481c0d4 Mon Sep 17 00:00:00 2001 From: Don BURNS Date: Sat, 16 Apr 2005 04:00:18 +0000 Subject: [PATCH] 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. --- src/osgPlugins/ive/PagedLOD.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/ive/PagedLOD.cpp b/src/osgPlugins/ive/PagedLOD.cpp index c685faec2..f322b3a81 100644 --- a/src/osgPlugins/ive/PagedLOD.cpp +++ b/src/osgPlugins/ive/PagedLOD.cpp @@ -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()); }