diff --git a/src/libs/vtools/tools/drawTools/toolcurve/vabstractspline.h b/src/libs/vtools/tools/drawTools/toolcurve/vabstractspline.h index 6985e0fd4..61aca125e 100644 --- a/src/libs/vtools/tools/drawTools/toolcurve/vabstractspline.h +++ b/src/libs/vtools/tools/drawTools/toolcurve/vabstractspline.h @@ -133,6 +133,11 @@ inline void VAbstractSpline::ShowToolVisualization(bool show) { ShowHandles(show); } + + if (scene()) + { // Showing/hiding control points require recalculation scene size. + VMainGraphicsView::NewSceneRect(scene(), qApp->getSceneView()); + } } #endif // VABSTRACTSPLINE_H