diff --git a/src/libs/vtools/visualization/vistoolspline.cpp b/src/libs/vtools/visualization/vistoolspline.cpp index 2b731e44d..8ac602a4e 100644 --- a/src/libs/vtools/visualization/vistoolspline.cpp +++ b/src/libs/vtools/visualization/vistoolspline.cpp @@ -92,6 +92,10 @@ void VisToolSpline::RefreshGeometry() { controlPoints[0]->show(); } + else + { + p2 = first->toQPointF(); + } } } else @@ -125,6 +129,10 @@ void VisToolSpline::RefreshGeometry() { controlPoints[1]->show(); } + else + { + p3 = second->toQPointF(); + } } } else