X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdesigner%2Fsvgexporter.cpp;h=62e869c368215ae7b1c590f02c7f227a0caed589;hb=b88d3630a0e3fdd763db018bbe5dbfe3180a95f2;hp=a9ba131c6bedc88a70d43e9b157b55d3b393ce8d;hpb=f8a7788cee0261babfc4c804a58515aad6dfbc3d;p=r2c2.git diff --git a/source/designer/svgexporter.cpp b/source/designer/svgexporter.cpp index a9ba131..62e869c 100644 --- a/source/designer/svgexporter.cpp +++ b/source/designer/svgexporter.cpp @@ -1,12 +1,5 @@ -/* $Id$ - -This file is part of R²C² -Copyright © 2010 Mikkosoft Productions, Mikko Rasa -Distributed under the GPL -*/ - #include -#include +#include #include "libr2c2/catalogue.h" #include "libr2c2/track.h" #include "libr2c2/tracktype.h" @@ -52,7 +45,7 @@ void SvgExporter::save(const string &fn) unsigned n_endpoints = (*i)->get_type().get_endpoints().size(); for(unsigned j=0; jget_endpoint_position(j); + Vector pos = (*i)->get_snap_node(j).position; if(i==tracks.begin() && j==0) minp = maxp = pos; else