Bug-fix: cap model shader quality to 1.0
When using the slider, model shader should be capped to 1, not 3.
This commit is contained in:
parent
0b6dbe9ad0
commit
510357492d
1 changed files with 1 additions and 4 deletions
|
@ -1410,13 +1410,10 @@ var update_shader_settings = func() {
|
|||
setprop("/sim/rendering/shaders/landmass",qualityLvl);
|
||||
setprop("/sim/rendering/shaders/urban",qualityLvl);
|
||||
setprop("/sim/rendering/shaders/water",qualityLvl);
|
||||
if (qualityLvl >= 3.0){
|
||||
qualityLvl = 3.0;
|
||||
}
|
||||
setprop("/sim/rendering/shaders/model",qualityLvl);
|
||||
if (qualityLvl >= 1.0){
|
||||
qualityLvl = 1.0;
|
||||
}
|
||||
setprop("/sim/rendering/shaders/model",qualityLvl);
|
||||
setprop("/sim/rendering/shaders/contrails",qualityLvl);
|
||||
setprop("/sim/rendering/shaders/crop",qualityLvl);
|
||||
setprop("/sim/rendering/shaders/generic",qualityLvl);
|
||||
|
|
Loading…
Add table
Reference in a new issue