mirror of
https://gitlab.com/smart-pattern/valentina.git
synced 2024-09-28 19:31:32 +02:00
Showing/hiding control points require recalculation scene size.
(grafted from 6f9642ea3c32ce5a333fa85339fd761aa992acc6) --HG-- branch : develop
This commit is contained in:
parent
3026f9dfc6
commit
aadac5772d
|
@ -133,6 +133,11 @@ inline void VAbstractSpline::ShowToolVisualization(bool show)
|
||||||
{
|
{
|
||||||
ShowHandles(show);
|
ShowHandles(show);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (scene())
|
||||||
|
{ // Showing/hiding control points require recalculation scene size.
|
||||||
|
VMainGraphicsView::NewSceneRect(scene(), qApp->getSceneView());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // VABSTRACTSPLINE_H
|
#endif // VABSTRACTSPLINE_H
|
||||||
|
|
Loading…
Reference in a new issue