From 5025cc3ae1b193c1a3ab5227ba4dd48d5ee8c1e1 Mon Sep 17 00:00:00 2001 From: Guillaume Deshors Date: Mon, 1 Feb 2021 18:44:16 +0100 Subject: [PATCH] allow stereoscopic gui to update new property to autoadjust aspect ratio when stereo osg view is split --- defaults.xml | 1 + gui/dialogs/stereoscopic-view-options.xml | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/defaults.xml b/defaults.xml index d46e6c4ae..7c4c1ec8e 100644 --- a/defaults.xml +++ b/defaults.xml @@ -224,6 +224,7 @@ Started September 2000 by David Megginson, david@megginson.com 0.05 0.5 OFF + true warn true diff --git a/gui/dialogs/stereoscopic-view-options.xml b/gui/dialogs/stereoscopic-view-options.xml index 265b6679a..c6ec94f2c 100644 --- a/gui/dialogs/stereoscopic-view-options.xml +++ b/gui/dialogs/stereoscopic-view-options.xml @@ -114,6 +114,20 @@ + + vbox + 6 + + left + + /sim/rendering/osg-displaysettings/split-stereo-autoadjust-aspect-ratio + true + + dialog-apply + + + + true