Fixed issue #979. Pattern is not designed correctly on last beta version.

Backed out changeset: cfc33c4b93b0

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-09-09 18:47:16 +03:00
parent 8aa5d2ca99
commit 4263874d30
2 changed files with 3 additions and 4 deletions

View file

@ -64,7 +64,6 @@
- Changing settings for move and rotate tools through property browser does not take in count previous change for label point and Show label option.
- Fix locking file after double save as.
- Key --ignoremargins still required margins.
- Fix inverse trigonometric functions. Wrong work with degrees.
# Version 0.6.1 October 23, 2018
- [#885] Regression. Broken support for multi size measurements.

View file

@ -184,7 +184,7 @@ qreal QmuParser::SinD(qreal v)
//---------------------------------------------------------------------------------------------------------------------
qreal QmuParser::ASinD(qreal v)
{
return qAsin(qDegreesToRadians(v));
return qRadiansToDegrees(qAsin(v));
}
//---------------------------------------------------------------------------------------------------------------------
@ -196,7 +196,7 @@ qreal QmuParser::CosD(qreal v)
//---------------------------------------------------------------------------------------------------------------------
qreal QmuParser::ACosD(qreal v)
{
return qAcos(qDegreesToRadians(v));
return qRadiansToDegrees(qAcos(v));
}
//---------------------------------------------------------------------------------------------------------------------
@ -208,7 +208,7 @@ qreal QmuParser::TanD(qreal v)
//---------------------------------------------------------------------------------------------------------------------
qreal QmuParser::ATanD(qreal v)
{
return qAtan(qDegreesToRadians(v));
return qRadiansToDegrees(qAtan(v));
}
//---------------------------------------------------------------------------------------------------------------------