Improve GUI response. When we still are waiting for details refresh we can
trigger event processing and thus make GUI more responsible. --HG-- branch : develop
This commit is contained in:
parent
2ec9e656eb
commit
e891219528
|
@ -3476,6 +3476,7 @@ void VPattern::RefreshPieceGeometry()
|
||||||
for(auto piece : qAsConst(updatePieces))
|
for(auto piece : qAsConst(updatePieces))
|
||||||
{
|
{
|
||||||
piece->RefreshGeometry(true); // Refresh internal paths
|
piece->RefreshGeometry(true); // Refresh internal paths
|
||||||
|
QApplication::processEvents();
|
||||||
}
|
}
|
||||||
updatePieces.clear();
|
updatePieces.clear();
|
||||||
VMainGraphicsView::NewSceneRect(sceneDetail, qApp->getSceneView());
|
VMainGraphicsView::NewSceneRect(sceneDetail, qApp->getSceneView());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user