diff --git a/BGL/include/CGAL/boost/graph/IO/PLY.h b/BGL/include/CGAL/boost/graph/IO/PLY.h index 4079c0f689d..c29b3332e08 100644 --- a/BGL/include/CGAL/boost/graph/IO/PLY.h +++ b/BGL/include/CGAL/boost/graph/IO/PLY.h @@ -369,6 +369,7 @@ bool write_PLY(std::ostream& os, os << "element vertex " << vertices(g).size() << std::endl; internal::output_property_header(os, make_ply_point_writer (CGAL::Identity_property_map())); + //if vcm is not default add v:color property if(has_vcolor) { @@ -382,6 +383,7 @@ bool write_PLY(std::ostream& os, internal::output_property_header( os, std::make_pair(CGAL::Identity_property_map >(), PLY_property >("vertex_indices"))); + //if fcm is not default add f:color property if(has_fcolor) {