net-lisias-ksp / DistantObject

Distant Object Enhancement (DOE) is a visual enhancement mod that makes objects realistically visible over large distances.
Other
11 stars 3 forks source link

Misbehaviour on the Settings Dialog #38

Closed Lisias closed 1 year ago

Lisias commented 1 year ago

See https://forum.kerbalspaceprogram.com/topic/205063-ksp-131-distant-object-enhancement-doe-l-under-new-management-21113-2023-0718/?do=findComment&comment=4312677

Lisias commented 1 year ago

Things are not looking right (obviously) - the mentioned data is being loaded before updating the widgets, the problem is something completely different from what I was thinking...

Lisias commented 1 year ago

Jesus Christ, what a stupid mistake to be made… I was criticising the range of the values when reading from the Config File wrongly! I check the values in the case someone had set it up manually, to prevent breakage - but I did it in an awesomely stupid (and wrong) way!!! #facePalm

(I must be sleepy when I coded that crap…)

Lisias commented 1 year ago

Crapness uncrapped in commit https://github.com/net-lisias-ksp/DistantObject/commit/6fcb9e5f4d976b239d751d9300b1b8c58e48540b