Skip to content
Success

Changes

Summary

  1. Fix ToSI issue (commit: 6dc55c3) (details)
Commit 6dc55c3e36d7791f4d3a482bc12d728a7b96cce1 by lamont
Fix ToSI issue

When called with -1 for "maxprecision" the ToSI API would call
something like Clamp(whatever, min: 0, max: -24) which was
nonsensical.

Remove the use of Clamp so that the lower min bounds is applied
last and always wins because negative values into the format
string are just illegal.
(commit: 6dc55c3)
The file was modified MechJeb2/MechJebLib/Utils/Statics.cs (diff)
The file was modified MechJebLibTest/Utils/StaticTests.cs (diff)