From 79499c7d74805c4fde9bcdf4120917664889b3ec Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 10 Sep 2019 09:58:50 +0300 Subject: [PATCH] Fix copy paste error. --HG-- branch : develop --- src/libs/vformat/vpatternrecipe.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/vformat/vpatternrecipe.cpp b/src/libs/vformat/vpatternrecipe.cpp index b37cf4aa4..e300a00d3 100644 --- a/src/libs/vformat/vpatternrecipe.cpp +++ b/src/libs/vformat/vpatternrecipe.cpp @@ -841,7 +841,7 @@ QDomElement VPatternRecipe::PointOfIntersectionArcs(const VToolRecord &record) ToolAttributes(step, tool); SetAttribute(step, AttrFirstArc, tool->FirstArcName()); - SetAttribute(step, AttrSecondArc, tool->FirstArcName()); + SetAttribute(step, AttrSecondArc, tool->SecondArcName()); SetAttribute(step, AttrCrossPoint, static_cast(tool->GetCrossCirclesPoint())); return step; @@ -873,7 +873,7 @@ QDomElement VPatternRecipe::PointOfIntersectionCurves(const VToolRecord &record) ToolAttributes(step, tool); SetAttribute(step, AttrCurve1, tool->FirstCurveName()); - SetAttribute(step, AttrCurve2, tool->FirstCurveName()); + SetAttribute(step, AttrCurve2, tool->SecondCurveName()); SetAttribute(step, AttrVCrossPoint, static_cast(tool->GetVCrossPoint())); SetAttribute(step, AttrHCrossPoint, static_cast(tool->GetHCrossPoint()));