Fix visualization for tool point of intersection line and axis. Case when the axis's point lies on the line.
This commit is contained in:
parent
25047b329d
commit
a474713b77
|
@ -6,6 +6,7 @@
|
||||||
- [smart-pattern/valentina#136] 2 decimals for entering values in multi measurements tables.
|
- [smart-pattern/valentina#136] 2 decimals for entering values in multi measurements tables.
|
||||||
- New warnings. Warn a user about incorrect cut curve segment length.
|
- New warnings. Warn a user about incorrect cut curve segment length.
|
||||||
- Fix finding point of intersection curve and axis. Case when the axis's point lies on the curve.
|
- Fix finding point of intersection curve and axis. Case when the axis's point lies on the curve.
|
||||||
|
- Fix visualization for tool point of intersection line and axis. Case when the axis's point lies on the line.
|
||||||
|
|
||||||
# Valentina 0.7.49 July 1, 2021
|
# Valentina 0.7.49 July 1, 2021
|
||||||
- Fix crash.
|
- Fix crash.
|
||||||
|
|
|
@ -99,7 +99,10 @@ void VisToolLineIntersectAxis::RefreshGeometry()
|
||||||
QPointF p;
|
QPointF p;
|
||||||
VToolLineIntersectAxis::FindPoint(axis, base_line, &p);
|
VToolLineIntersectAxis::FindPoint(axis, base_line, &p);
|
||||||
QLineF axis_line(static_cast<QPointF>(*third), p);
|
QLineF axis_line(static_cast<QPointF>(*third), p);
|
||||||
DrawLine(this, axis_line, mainColor, lineStyle);
|
if (not axis_line.isNull())
|
||||||
|
{
|
||||||
|
DrawLine(this, axis_line, mainColor, lineStyle);
|
||||||
|
}
|
||||||
|
|
||||||
DrawPoint(point, p, mainColor);
|
DrawPoint(point, p, mainColor);
|
||||||
ShowIntersection(axis_line, base_line);
|
ShowIntersection(axis_line, base_line);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user