Fixed material writer using wrong stream (Thanks to Vladimir Chalupecky for the fix). closes #2037

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@999 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2014-02-28 07:15:27 +00:00
parent a0097fe3e0
commit 383b75b20b

View File

@@ -234,7 +234,7 @@ write(std::ostream& _out, BaseExporter& _be, Options _opt, std::streamsize _prec
std::fstream matStream(matFile.c_str(), std::ios_base::out ); std::fstream matStream(matFile.c_str(), std::ios_base::out );
if (!_out) if (!matStream)
{ {
omerr() << "[OBJWriter] : cannot write material file " << matFile << std::endl; omerr() << "[OBJWriter] : cannot write material file " << matFile << std::endl;