Don't rescale the frustum when visibility changes.

This commit is contained in:
Maxime Gimeno 2020-01-21 14:25:09 +01:00
parent 87f16a5fa2
commit 26492a9750
1 changed files with 1 additions and 1 deletions

View File

@ -2191,7 +2191,7 @@ void MainWindow::on_actionShowHide_triggered()
item->redraw(); item->redraw();
} }
scene->setUpdatesEnabled(true); scene->setUpdatesEnabled(true);
updateViewersBboxes(false); // updateViewersBboxes(false); //Not usable :when the scene changes scale, smaller items disappear.
} }
void MainWindow::on_actionSetPolyhedronA_triggered() void MainWindow::on_actionSetPolyhedronA_triggered()