From 239f4e5c42d459717abd84ae0e4ac7b71dec2b77 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 6 Jun 2008 16:41:24 +0000 Subject: [PATCH] From Stephane Lamoliatte, "fix to reading of DatabasePath property" --- src/osgPlugins/osg/PagedLOD.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/osg/PagedLOD.cpp b/src/osgPlugins/osg/PagedLOD.cpp index 219691ced..564670fc5 100644 --- a/src/osgPlugins/osg/PagedLOD.cpp +++ b/src/osgPlugins/osg/PagedLOD.cpp @@ -29,7 +29,7 @@ bool PagedLOD_readLocalData(Object& obj, Input& fr) PagedLOD& lod = static_cast(obj); std::string path; - if (!fr.read("DatabasePath",path)) + if (fr.read("DatabasePath",path)) { lod.setDatabasePath(path); }