Fix copy paste error.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-09-10 09:58:50 +03:00
parent c1c4768921
commit 79499c7d74

View File

@ -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<int>(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<int>(tool->GetVCrossPoint()));
SetAttribute(step, AttrHCrossPoint, static_cast<int>(tool->GetHCrossPoint()));