- Updated changelog
- Always emit warning
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
<b>IO</b>
|
||||
<ul>
|
||||
<li>Obj reader: added texCoord3d functions to objloader</li>
|
||||
<li>PLY Reader: Don't emit warning for every complex face but warn only once in the end.</li>
|
||||
<li>Importer: Integrate non-manifold faces while importing and not at the end. Fixes missing properties on non-manifolds. (Thanks to Max Limper for the patch, Merge Request 51)<li>
|
||||
</ul>
|
||||
|
||||
|
||||
@@ -456,11 +456,11 @@ bool _PLYReader_::read_ascii(std::istream& _in, BaseImporter& _bi, const Options
|
||||
|
||||
}
|
||||
|
||||
if (err_enabled) {
|
||||
if (err_enabled)
|
||||
omerr().enable();
|
||||
if (complex_faces)
|
||||
omerr() << complex_faces << " invalid faces could not be added.\n";
|
||||
}
|
||||
|
||||
if (complex_faces)
|
||||
omerr() << complex_faces << "The reader encountered invalid faces, that could not be added.\n";
|
||||
|
||||
// File was successfully parsed.
|
||||
return true;
|
||||
@@ -646,11 +646,12 @@ bool _PLYReader_::read_binary(std::istream& _in, BaseImporter& _bi, bool /*_swap
|
||||
}
|
||||
}
|
||||
|
||||
if (err_enabled) {
|
||||
if (err_enabled)
|
||||
omerr().enable();
|
||||
if (complex_faces)
|
||||
omerr() << complex_faces << " invalid faces could not be added.\n";
|
||||
}
|
||||
|
||||
if (complex_faces)
|
||||
omerr() << complex_faces << "The reader encountered invalid faces, that could not be added.\n";
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user