Commit 383b75b2 authored by Jan Möbius's avatar Jan Möbius
Browse files

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

git-svn-id: fdac6126-5c0c-442c-9429-916003d36597
parent a0097fe3
......@@ -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 );
if (!_out)
if (!matStream)
omerr() << "[OBJWriter] : cannot write material file " << matFile << std::endl;
Supports Markdown
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