From 9194769155c92c14266ea69075de5c6caa057ee1 Mon Sep 17 00:00:00 2001 From: cignoni Date: Tue, 10 Jul 2007 06:58:31 +0000 Subject: [PATCH] added a missing typename --- wrap/io_edgemesh/export_svg.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/wrap/io_edgemesh/export_svg.h b/wrap/io_edgemesh/export_svg.h index 74a4716e..86299b4e 100644 --- a/wrap/io_edgemesh/export_svg.h +++ b/wrap/io_edgemesh/export_svg.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.8 2007/07/09 15:36:40 andrenucci +fix bug with exporting of translate plans + Revision 1.7 2007/06/13 09:17:14 andrenucci Fix problem with scale @@ -54,8 +57,6 @@ namespace vcg namespace io { -static const char * DEFAULT_LINE_COLOR = "black"; -static const char * DEFAULT_LINE_CAP= "round"; /** * SVG Properties. * @@ -129,6 +130,10 @@ public: SVGProperties() { lwidth = DEFAULT_LINE_WIDTH; + + const char * DEFAULT_LINE_COLOR = "black"; + const char * DEFAULT_LINE_CAP= "round"; + stroke_color = DEFAULT_LINE_COLOR; stroke_linecap = DEFAULT_LINE_CAP; @@ -254,7 +259,7 @@ public: int num = (*vp).size(); //number of square to draw WriteXmlHead(o,pro.getWidth(),pro.getHeight(),pro.getViewBox(),Point2d(0,0)); float scale= pro.getScale(); - vector::iterator it; + typename std::vector::iterator it; int i=0; Point2f pmin(100000000.0f, 100000000.0f); for(it=(*vp).begin(); it!=(*vp).end(); it++){