Fixed issue. Curves look too wavy.

(grafted from 87dfd6a669e23585ed67982d043e6abd26a1f00b)

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-10-10 12:28:17 +03:00
parent 67b01c0337
commit 136b9f66ed
2 changed files with 2 additions and 1 deletions

View File

@ -64,6 +64,7 @@
- [#752] Valentina produces corrupted file if unite two pieces. - [#752] Valentina produces corrupted file if unite two pieces.
- [#753] Elliptical arc tool is broken. - [#753] Elliptical arc tool is broken.
- [#767] Valentina produces wrong main path. - [#767] Valentina produces wrong main path.
- Fix issue. Curves look too wavy.
# Version 0.5.0 May 9, 2017 # Version 0.5.0 May 9, 2017
- [#581] User can now filter input lists by keyword in function wizard. - [#581] User can now filter input lists by keyword in function wizard.

View File

@ -231,7 +231,7 @@ void VAbstractCubicBezier::PointBezier_r(qreal x1, qreal y1, qreal x2, qreal y2,
const double m_angle_tolerance = 0.0; const double m_angle_tolerance = 0.0;
enum curve_recursion_limit_e { curve_recursion_limit = 32 }; enum curve_recursion_limit_e { curve_recursion_limit = 32 };
const double m_cusp_limit = 0.0; const double m_cusp_limit = 0.0;
double m_approximation_scale = 1.0; double m_approximation_scale = 10.0;
double m_distance_tolerance_square; double m_distance_tolerance_square;
m_distance_tolerance_square = 0.5 / m_approximation_scale; m_distance_tolerance_square = 0.5 / m_approximation_scale;