Merge pull request #300 from eyethereal/fix-obj-exporter-vertex-references
Fixed vertex reference output format in face element for OBJ exporterpull/309/head
commit
7abfcd1a4d
|
@ -245,11 +245,8 @@ void ObjExporter :: WriteGeometryFile()
|
||||||
if (fv.vt) {
|
if (fv.vt) {
|
||||||
mOutput << fv.vt;
|
mOutput << fv.vt;
|
||||||
}
|
}
|
||||||
if (f.kind == 'f') {
|
if (f.kind == 'f' && fv.vn) {
|
||||||
mOutput << '/';
|
mOutput << '/' << fv.vn;
|
||||||
if (fv.vn) {
|
|
||||||
mOutput << fv.vn;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue