KSP-RO / RealAntennas

KSP Mod to add better antenna / link calculations to CommNet.
2 stars 4 forks source link

"Earth" (or relevant Home planet) preset in planner gives nonsensical results #2

Open Capkirk123 opened 5 months ago

Capkirk123 commented 5 months ago

For whatever reason, when hitting the "Earth" button in the RA planner, the min and max ranges are set to -2918860 km and 301 Gm, respectively. This is very unhelpful and probably unintended, as neither of these values seem to correspond to anything useful?

Migrated from https://github.com/DRVeyl/RealAntennas/issues/99

DRVeyl commented 5 months ago

Fix the code at https://github.com/DRVeyl/RealAntennas/blob/master/src/RealAntennasProject/PlannerGUI.cs#L301-L309 to deal with selecting the HomeWorld? Or since that might look strange, carve it out at https://github.com/DRVeyl/RealAntennas/blob/master/src/RealAntennasProject/PlannerGUI.cs#L147 instead