diff --git a/cgogn/io/surface/surface_import.cpp b/cgogn/io/surface/surface_import.cpp index 52aaf693f..4d22dea61 100644 --- a/cgogn/io/surface/surface_import.cpp +++ b/cgogn/io/surface/surface_import.cpp @@ -207,6 +207,11 @@ void import_surface_data(CMap2& m, SurfaceImportData2D& surface_data, bool recon import_surface_data_map_tmpl(m, surface_data,reconstruct_phi2); } +void import_surface_data(GMap2& m, SurfaceImportData2D& surface_data, bool reconstruct_phi2) +{ + import_surface_data_map_tmpl(m, surface_data, reconstruct_phi2); +} + void import_surface_data(IncidenceGraph& ig, SurfaceImportData& surface_data) { using Vertex = IncidenceGraph::Vertex; diff --git a/cgogn/io/surface/surface_import.h b/cgogn/io/surface/surface_import.h index 6b3f517f0..5df8d29d6 100644 --- a/cgogn/io/surface/surface_import.h +++ b/cgogn/io/surface/surface_import.h @@ -77,7 +77,7 @@ using SurfaceImportData = SurfaceImportDataTGen; using SurfaceImportData2D = SurfaceImportDataTGen; -void CGOGN_IO_EXPORT import_surface_data(CMap2& m, SurfaceImportData& surface_data, bool reconstruct_phi2=true); +void CGOGN_IO_EXPORT import_surface_data(CMap2& m, SurfaceImportData& surface_data, bool reconstruct_phi2 = true); void CGOGN_IO_EXPORT import_surface_data(GMap2& m, SurfaceImportData& surface_data, bool reconstruct_phi2 = true); void CGOGN_IO_EXPORT import_surface_data(IncidenceGraph& m, SurfaceImportData& surface_data); void CGOGN_IO_EXPORT import_surface_data(TriangleSoup& m, SurfaceImportData& surface_data);