Преглед на файлове

Merge pull request #74 from fmardini/my-master

write object bug: need newline between end of v and start of f

Former-commit-id: 049d1071f884f0ea26181a05e477d4e30181355d
Alec Jacobson преди 10 години
родител
ревизия
5e0e174431
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      include/igl/writeOBJ.cpp

+ 2 - 2
include/igl/writeOBJ.cpp

@@ -106,8 +106,8 @@ IGL_INLINE bool igl::writeOBJ(
     return false;
   }
   s<<
-    V.format(IOFormat(FullPrecision,DontAlignCols," ","\n","v ","","",""))<<
-    (F.array()+1).format(IOFormat(FullPrecision,DontAlignCols," ","\n","f ","","",""));
+    V.format(IOFormat(FullPrecision,DontAlignCols," ","\n","v ","","","\n"))<<
+    (F.array()+1).format(IOFormat(FullPrecision,DontAlignCols," ","\n","f ","","","\n"));
   return true;
 }