diff --git a/apps/sample/trimesh_intersection/trimesh_intersection.cpp b/apps/sample/trimesh_intersection/trimesh_intersection.cpp index 811e84a8..8f581612 100644 --- a/apps/sample/trimesh_intersection/trimesh_intersection.cpp +++ b/apps/sample/trimesh_intersection/trimesh_intersection.cpp @@ -103,8 +103,7 @@ int main(int argc,char ** argv) vcg::edge::UpdateBounding::Box(edge_mesh); // export the cross-section - vcg::edge::io::ExporterSVG exporter; - if (exporter.Save(&edge_mesh, "out.svg")) + if (vcg::edge::io::ExporterSVG::Save(&edge_mesh, "out.svg")) printf(" The cross-intersection has been successfully saved (OUT.SVG).\n"); else printf(" The cross-intersection cannot be saved.\n");