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