From dd39e70c726fa9e0dd9208ff9080b3f5355b9a82 Mon Sep 17 00:00:00 2001 From: maxcorsini Date: Wed, 15 Feb 2006 15:39:04 +0000 Subject: [PATCH] Adjust SVG export --- apps/sample/trimesh_intersection/trimesh_intersection.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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");