Fix menubar
This commit is contained in:
parent
e27aa0c4d9
commit
eea2f89080
2 changed files with 2 additions and 1 deletions
|
@ -155,8 +155,8 @@ _setlistener("/sim/signals/nasal-dir-initialized", func {
|
|||
}
|
||||
menuEnable("autopilot", isAutopilotMenuEnabled() );
|
||||
menuEnable("joystick-info", size(props.globals.getNode("/input/joysticks").getChildren("js")));
|
||||
menuEnable("ambient-occlusion", getprop("/sim/rendering/rembrandt/enabled") and getprop("/sim/rendering/rembrandt/ambient-occlusion-buffers"));
|
||||
menuEnable("rendering-buffers", getprop("/sim/rendering/rembrandt/enabled"));
|
||||
menuEnable("rembrandt-buffers-choice", getprop("/sim/rendering/rembrandt/enabled"));
|
||||
|
||||
# frame-per-second display
|
||||
var fps = props.globals.getNode("/sim/rendering/fps-display", 1);
|
||||
|
|
|
@ -673,6 +673,7 @@
|
|||
<command>dialog-show</command>
|
||||
<dialog-name>rembrandt-buffers</dialog-name>
|
||||
</binding>
|
||||
<enabled>false</enabled>
|
||||
</item>
|
||||
|
||||
</menu>
|
||||
|
|
Loading…
Add table
Reference in a new issue