Showing/hiding control points require recalculation scene size.

--HG--
branch : release
This commit is contained in:
Roman Telezhynskyi 2016-01-15 12:16:04 +02:00
parent b2d498b78c
commit 69354bd28c

View File

@ -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