1
0
Fork 0

allow stereoscopic gui to update new property to autoadjust aspect ratio when stereo osg view is split

This commit is contained in:
Guillaume Deshors 2021-02-01 18:44:16 +01:00 committed by James Turner
parent 1474121085
commit 5025cc3ae1
2 changed files with 15 additions and 0 deletions

View file

@ -224,6 +224,7 @@ Started September 2000 by David Megginson, david@megginson.com
<eye-separation type="double" userarchive="y">0.05</eye-separation>
<screen-distance type="double" userarchive="y">0.5</screen-distance>
<stereo-mode type="string" userarchive="y">OFF</stereo-mode>
<split-stereo-autoadjust-aspect-ratio type="bool" userarchive="y">true</split-stereo-autoadjust-aspect-ratio>
</osg-displaysettings>
<osg-notify-level type="string" userarchive="y">warn</osg-notify-level>
<cache type="bool">true</cache>

View file

@ -114,6 +114,20 @@
</text>
</group>
<group>
<layout>vbox</layout>
<padding>6</padding>
<checkbox>
<halign>left</halign>
<label>Adjust aspect ratio if split</label>
<property>/sim/rendering/osg-displaysettings/split-stereo-autoadjust-aspect-ratio</property>
<live>true</live>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
</group>
<empty>
<stretch>true</stretch>
</empty>