Adjust SVG export
This commit is contained in:
parent
285b33737f
commit
dd39e70c72
|
@ -103,8 +103,7 @@ int main(int argc,char ** argv)
|
||||||
vcg::edge::UpdateBounding<MyEdgeMesh>::Box(edge_mesh);
|
vcg::edge::UpdateBounding<MyEdgeMesh>::Box(edge_mesh);
|
||||||
|
|
||||||
// export the cross-section
|
// export the cross-section
|
||||||
vcg::edge::io::ExporterSVG<MyEdgeMesh> exporter;
|
if (vcg::edge::io::ExporterSVG<MyEdgeMesh>::Save(&edge_mesh, "out.svg"))
|
||||||
if (exporter.Save(&edge_mesh, "out.svg"))
|
|
||||||
printf(" The cross-intersection has been successfully saved (OUT.SVG).\n");
|
printf(" The cross-intersection has been successfully saved (OUT.SVG).\n");
|
||||||
else
|
else
|
||||||
printf(" The cross-intersection cannot be saved.\n");
|
printf(" The cross-intersection cannot be saved.\n");
|
||||||
|
|
Loading…
Reference in New Issue