#729: make shader options dialog work for migrating users
Users with fgfs <= 2.6.0 have the userarchived flag set for /sim/rendering/shaders/quality-level, which brakes the new dialog.
This commit is contained in:
parent
a79a91a2aa
commit
1727ec1379
1 changed files with 1 additions and 0 deletions
|
@ -600,6 +600,7 @@
|
|||
<nasal>
|
||||
<open>
|
||||
gui.enable_widgets(cmdarg(), "shadows-debug", getprop("/sim/gui/devel-widgets"));
|
||||
props.globals.getNode("/sim/rendering/shaders/quality-level", 1).setAttribute("userarchive", 0);
|
||||
</open>
|
||||
</nasal>
|
||||
</PropertyList>
|
||||
|
|
Loading…
Reference in a new issue