From 94cd4f6ac7dc537a1eedc59d30d3e2e0f09dd5d7 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 3 Jun 2002 10:44:18 +0000 Subject: [PATCH] Changed the ReadResult handling in readNode so that it better handled the case when a plugin hasn't been found to load a plugin. --- src/osgDB/Registry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgDB/Registry.cpp b/src/osgDB/Registry.cpp index 21993acbe..35d565552 100644 --- a/src/osgDB/Registry.cpp +++ b/src/osgDB/Registry.cpp @@ -873,7 +873,7 @@ ReaderWriter::ReadResult Registry::readNode(const std::string& fileName) { ReaderWriter::ReadResult rr = readImage(file); if (rr.validImage()) return createGeodeForImage(rr.takeImage()); - else if (rr.error()) results.push_back(rr); + //else if (rr.error()) results.push_back(rr); } if (results.empty())