Commit 9e5a9e5a authored by Mike Kremer's avatar Mike Kremer

Fixed writing of face colors in binary format.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@12702 383ad7c9-94d9-4d36-a494-682f7c89f535
parent b11b6474
......@@ -257,9 +257,6 @@ bool FileOFFPlugin::writeBinaryData(std::ostream& _out, MeshT& _mesh ){
writeValue(_out, c[2]);
if(userWriteOptions_ & OFFImporter::COLORALPHA) writeValue(_out, c[3]);
} else {
// There are no face colors
writeValue(_out, c[3]);
}
}
......
Markdown is supported
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