Procházet zdrojové kódy

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

Former-commit-id: 2c8f883aa0894fb6bdc072c0e088c7af76ee8365
Fouad Mardini před 10 roky
rodič
revize
742e5ade24
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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;
 }