From 6a4846001458ff3354248b1bd76c41364428241a Mon Sep 17 00:00:00 2001 From: dismine Date: Fri, 22 Nov 2013 12:18:35 +0200 Subject: [PATCH] Name of arc in formula. --HG-- branch : develop --- src/geometry/varc.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/geometry/varc.cpp b/src/geometry/varc.cpp index 771f59b1f..2dfd52a70 100644 --- a/src/geometry/varc.cpp +++ b/src/geometry/varc.cpp @@ -40,7 +40,10 @@ VArc::VArc (const QHash *points, qint64 center, qreal radius, Q : f1(f1), formulaF1(formulaF1), f2(f2), formulaF2(formulaF2), radius(radius), formulaRadius(formulaRadius), center(center), points(*points), mode(mode), idObject(idObject), _name(QString()) { - _name = QString ("Arc_%1_%2").arg(this->GetCenterVPoint().name()).arg(radius); + /** + * @todo Change name of arc in formula. Name now not unique. + */ + _name = QString ("Arc_%1").arg(this->GetCenterVPoint().name()); } VArc::VArc(const VArc &arc)