Commit 2e5de79b authored by Jan Möbius's avatar Jan Möbius
parents fe07bd72 1ab77e16
Pipeline #2056 passed with stage
in 74 minutes and 16 seconds
......@@ -21,6 +21,7 @@
<b>IO</b>
<ul>
<li>PLY Reader: Fixed binary reader errors in ply reader. (Thanks to Michael Kremer for the patch)</li>
<li>Throw error when no readers are available (Thanks to Christian Feurer for the patch)</li>
</ul>
<b>Build System</b>
......
......@@ -94,6 +94,12 @@ read(const std::string& _filename, BaseImporter& _bi, Options& _opt)
std::set<BaseReader*>::const_iterator it = reader_modules_.begin();
std::set<BaseReader*>::const_iterator it_end = reader_modules_.end();
if( it == it_end )
{
omerr() << "[OpenMesh::IO::_IOManager_] No reading modules available!\n";
return false;
}
// Try all registered modules
for(; it != it_end; ++it)
if ((*it)->can_u_read(_filename))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment