Showing/hiding control points require recalculation scene size.
--HG-- branch : release
This commit is contained in:
parent
b2d498b78c
commit
69354bd28c
|
@ -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