- Updated changelog

- Always emit warning
This commit is contained in:
Jan Möbius
2016-04-15 15:57:07 +02:00
parent 6c6ce56c3c
commit 1c85080a1e
2 changed files with 10 additions and 8 deletions

View File

@@ -17,6 +17,7 @@
<b>IO</b> <b>IO</b>
<ul> <ul>
<li>Obj reader: added texCoord3d functions to objloader</li> <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> <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> </ul>

View File

@@ -456,11 +456,11 @@ bool _PLYReader_::read_ascii(std::istream& _in, BaseImporter& _bi, const Options
} }
if (err_enabled) { if (err_enabled)
omerr().enable(); 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. // File was successfully parsed.
return true; 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(); 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; return true;
} }