From fd13cc4675ea5c6cf27498480504317337965380 Mon Sep 17 00:00:00 2001 From: cignoni Date: Tue, 5 Apr 2011 08:55:57 +0000 Subject: [PATCH] Updated to the new trimesh centric philosophy --- wrap/io_edgemesh/export_svg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wrap/io_edgemesh/export_svg.h b/wrap/io_edgemesh/export_svg.h index 017e6d68..ec9520cf 100644 --- a/wrap/io_edgemesh/export_svg.h +++ b/wrap/io_edgemesh/export_svg.h @@ -26,7 +26,7 @@ namespace vcg { - namespace edg + namespace tri { namespace io { @@ -194,7 +194,7 @@ static void WriteXmlBody(FILE* fpo, EdgeMeshType &mp, SVGProperties &pro, int me float scale = pro.scale; if(scale==0) scale = 2.0/mp.bbox.Diag(); - for (i = mp.edges.begin(); i != mp.edges.end(); ++i) + for (i = mp.edge.begin(); i != mp.edge.end(); ++i) if(!(*i).IsD()) { Point3f p0 = (-rotCenter + rotM * ((*i).V(0)->P()))*scale*1000; Point3f p1 = (-rotCenter + rotM * ((*i).V(1)->P()))*scale*1000;