diff --git a/src/libs/vtools/tools/drawTools/toolcurve/vtoolellipticalarc.cpp b/src/libs/vtools/tools/drawTools/toolcurve/vtoolellipticalarc.cpp index a187b6562..b749d2edf 100644 --- a/src/libs/vtools/tools/drawTools/toolcurve/vtoolellipticalarc.cpp +++ b/src/libs/vtools/tools/drawTools/toolcurve/vtoolellipticalarc.cpp @@ -268,12 +268,8 @@ void VToolEllipticalArc::SetFormulaF1(const VFormula &value) { QSharedPointer obj = VAbstractTool::data.GetGObject(m_id); QSharedPointer elArc = qSharedPointerDynamicCast(obj); - - if (not VFuzzyComparePossibleNulls(value.getDoubleValue(), elArc->GetEndAngle()))// Angles can't be equal - { - elArc->SetFormulaF1(value.GetFormula(FormulaType::FromUser), value.getDoubleValue()); - SaveOption(obj); - } + elArc->SetFormulaF1(value.GetFormula(FormulaType::FromUser), value.getDoubleValue()); + SaveOption(obj); } } @@ -297,11 +293,8 @@ void VToolEllipticalArc::SetFormulaF2(const VFormula &value) { QSharedPointer obj = VAbstractTool::data.GetGObject(m_id); QSharedPointer elArc = qSharedPointerDynamicCast(obj); - if (not VFuzzyComparePossibleNulls(value.getDoubleValue(), elArc->GetStartAngle()))// Angles can't be equal - { - elArc->SetFormulaF2(value.GetFormula(FormulaType::FromUser), value.getDoubleValue()); - SaveOption(obj); - } + elArc->SetFormulaF2(value.GetFormula(FormulaType::FromUser), value.getDoubleValue()); + SaveOption(obj); } }