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 New Issue
Block a user