This commit is contained in:
Vojtech Bubnik 2022-06-27 10:42:42 +02:00
parent c6bcaedba9
commit f0886b46fb

View file

@ -139,7 +139,7 @@ void Polyline::split_at(const Point &point, Polyline* p1, Polyline* p2) const
}
if (this->points.front() == point) {
*p1 = point;
*p1 = { point };
*p2 = *this;
}