Opened 8 years ago
Closed 7 years ago
#4230 closed defect (fixed)
Options warning: incompatible value for WaterUgly
Reported by: | Vladislav Belov | Owned by: | Imarok |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 22 |
Component: | UI & Simulation | Keywords: | |
Cc: | Patch: | Phab:D89 |
Description (last modified by )
If reset all options to default and ugly water enabled then next warning appears after reloading:
warning: Incompatible renderer option value for WaterUgly
It's printed by gui/options/options.js:
if (Engine["Renderer_Get" + keyRenderer + "Enabled"]() !== checked) { warn("Incompatible renderer option value for " + keyRenderer); Engine["Renderer_Set" + keyRenderer + "Enabled"](checked); }
I think it happens because () !== checked
not inverted for invertedboolean type, but I'm not sure yet.
Change History (5)
comment:1 by , 8 years ago
Description: | modified (diff) |
---|
comment:4 by , 7 years ago
Description: | modified (diff) |
---|---|
Milestone: | Backlog → Alpha 22 |
Patch: | → Phab:D89 |
Note:
See TracTickets
for help on using tickets.
It doesn't work only for
invertedboolean
values. Another issue: ifwaterugly
is enabled (config containswaterugly = true
, then game doesn't apply this settings (water isn't ugly) until the options window won't opened.