Changed the ReadResult handling in readNode so that it better handled the case

when a plugin hasn't been found to load a plugin.
This commit is contained in:
Robert Osfield
2002-06-03 10:44:18 +00:00
parent 3fa6401c8f
commit 94cd4f6ac7

View File

@@ -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())