Commit b2b92404 authored by Mike Kremer's avatar Mike Kremer

Update all views after having changed stereo settings within stereo settings context menu.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@7565 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 4e96e3e3
......@@ -372,5 +372,8 @@ void CoreWidget::slotApplyStereoSettings() {
OpenFlipper::Options::focalDistance(
(float)stereoSettingsWidget_->focalDistance->value() / 1000);
// TODO: We should force an update of the viewports here
// Update all views
for (unsigned int i = 0 ; i < OpenFlipper::Options::examinerWidgets() ; ++i) {
examiner_widgets_[i]->updateGL();
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment