diff --git a/code/ObjExporter.cpp b/code/ObjExporter.cpp index 502e283f8..282983965 100644 --- a/code/ObjExporter.cpp +++ b/code/ObjExporter.cpp @@ -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; } } }