Merge pull request #300 from eyethereal/fix-obj-exporter-vertex-references

Fixed vertex reference output format in face element for OBJ exporter
pull/309/head
Alexander Gessler 2014-06-21 18:55:51 +02:00
commit 7abfcd1a4d
1 changed files with 2 additions and 5 deletions

View File

@ -245,11 +245,8 @@ void ObjExporter :: WriteGeometryFile()
if (fv.vt) {
mOutput << fv.vt;
}
if (f.kind == 'f') {
mOutput << '/';
if (fv.vn) {
mOutput << fv.vn;
}
if (f.kind == 'f' && fv.vn) {
mOutput << '/' << fv.vn;
}
}
}