Zoom fit best after preparing all pieces.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-01-22 17:42:11 +02:00
parent f0d38c1c59
commit 68e3836510

View File

@ -3502,6 +3502,7 @@ void VPattern::RefreshPieceGeometry()
} }
updatePieces.clear(); updatePieces.clear();
VMainGraphicsView::NewSceneRect(sceneDetail, qApp->getSceneView()); VMainGraphicsView::NewSceneRect(sceneDetail, qApp->getSceneView());
qApp->getSceneView()->ZoomFitBest();
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------