diff --git a/src/core/PLY.cpp b/src/core/PLY.cpp
index d48efe555c3b9e42ffb059fcdcd79cad033ae863..33be428ffc63681d2151395ef5bfb61141a892ff 100644
--- a/src/core/PLY.cpp
+++ b/src/core/PLY.cpp
@@ -232,7 +232,7 @@ void PLYSaver::savePLY(const std::string & fileName) const {
   }
 
   for(std::vector<Triangle>::const_iterator t = triangles.begin(); t != triangles.end(); ++t)
-      outfile << " 3 " << (*t).getP1() << " " << (*t).getP2() << " " << (*t).getP3() << std::endl;
+      outfile << "3 " << (*t).getP1() << " " << (*t).getP2() << " " << (*t).getP3() << std::endl;
 
   outfile.close();
 }