Added check to make sure that ApA is outside of the atmosphere -- was causing "dT is NaN!" spam while s/c orbit still in the atmosphere, see http://bugs.kerbalspaceprogram.com/issues/5334 for more details.
--- a/Documents/CHANGES.txt
+++ b/Documents/CHANGES.txt
@@ -3,7 +3,7 @@
Added: Manoeuvre readouts - "Post-burn Apoapsis" and "Post-burn Periapsis". (Padishar)
Fixed: Synched the minimum simulation time sliders and stopped them from snapping back after 999ms. (saybur)
Fixed: Added workaround for the bug in Vessel.horizontalSrfSpeed (Padishar)
- Fixed: Physically insignificant part masses were not correctly being cascaded down through its parents.
+ Fixed: Physically insignificant part mass was not being correctly cascaded down through multiple parent parts.
1.0.17.0
Added: 'Mach Number' readout under the 'Surface' category and included it on the default surface HUD.
--- a/KerbalEngineer/Flight/Readouts/Orbital/TimeToAtmosphere.cs
+++ b/KerbalEngineer/Flight/Readouts/Orbital/TimeToAtmosphere.cs
@@ -50,7 +50,7 @@
String str;
Orbit orbit = FlightGlobals.ship_orbit;
- if (orbit.referenceBody.atmosphere && orbit.PeA < orbit.referenceBody.atmosphereDepth)
+ if (orbit.referenceBody.atmosphere && orbit.PeA < orbit.referenceBody.atmosphereDepth && orbit.ApA > orbit.referenceBody.atmosphereDepth)
{
double tA = orbit.TrueAnomalyAtRadius(orbit.referenceBody.atmosphereDepth + orbit.referenceBody.Radius);
//log.buf.AppendFormat("tA = {0}\n", tA);
@@ -87,7 +87,7 @@
else
{
str = "---s";
- //log.buf.AppendLine("no atmosphere or pe > atmosphere");
+ //log.buf.AppendLine("no atmosphere, pe > atmosphere, or ap < atmosphere");
}
//log.Flush();
Binary files a/Output/KerbalEngineer/KerbalEngineer.dll and b/Output/KerbalEngineer/KerbalEngineer.dll differ
--- a/Output/KerbalEngineer/KerbalEngineer.version
+++ b/Output/KerbalEngineer/KerbalEngineer.version
@@ -1,11 +1,11 @@
{
- "NAME":"Kerbal Engineer Redux 1.0",
+ "NAME":"Kerbal Engineer Redux",
"URL":"http://ksp-avc.cybutek.net/version.php?id=6",
"VERSION":
{
"MAJOR":1,
"MINOR":0,
- "PATCH":17,
+ "PATCH":18,
"BUILD":0
},
"KSP_VERSION":
@@ -15,3 +15,4 @@
"PATCH":4
}
}
+