Merge branch 'master' of https://www.graphics.rwth-aachen.de:9000/OpenMesh/OpenMesh
This commit is contained in:
@@ -21,6 +21,7 @@
|
|||||||
<b>IO</b>
|
<b>IO</b>
|
||||||
<ul>
|
<ul>
|
||||||
<li>PLY Reader: Fixed binary reader errors in ply reader. (Thanks to Michael Kremer for the patch)</li>
|
<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>
|
</ul>
|
||||||
|
|
||||||
<b>Build System</b>
|
<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 = reader_modules_.begin();
|
||||||
std::set<BaseReader*>::const_iterator it_end = reader_modules_.end();
|
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
|
// Try all registered modules
|
||||||
for(; it != it_end; ++it)
|
for(; it != it_end; ++it)
|
||||||
if ((*it)->can_u_read(_filename))
|
if ((*it)->can_u_read(_filename))
|
||||||
|
|||||||
Reference in New Issue
Block a user