Prep 1.0.16.2 release built on KSP 1.0.
Binary files a/Assets/CurseLogo.png and b/Assets/CurseLogo.png differ
Binary files a/Assets/CurseLogo.psd and b/Assets/CurseLogo.psd differ
--- a/Documents/CHANGES.txt
+++ b/Documents/CHANGES.txt
@@ -1,3 +1,6 @@
+1.0.16.2, 27-04-2015
+ Changed the atmospheric slider on the build engineer to default to 0km when changing bodies.
+
1.0.16.1, 26-04-2015, KSP Build #828
Merged Sarbian's mach adjustments.
Fixed bugs relating to thrust and atmosphere/velocity curves.
--- a/KerbalEngineer/Editor/BuildAdvanced.cs
+++ b/KerbalEngineer/Editor/BuildAdvanced.cs
@@ -37,7 +37,7 @@
public class BuildAdvanced : MonoBehaviour
{
#region Fields
- public static float Altitude = 500.0f;
+ public static float Altitude = 0.0f;
private GUIStyle areaSettingStyle;
private GUIStyle areaStyle;
@@ -307,7 +307,7 @@
GUILayout.BeginVertical();
GUILayout.Label("Mach: " + this.atmosphericMach.ToString("F1") + "m/s", this.settingAtmoStyle, GUILayout.Width(125.0f * GuiDisplaySize.Offset));
GUI.skin = HighLogic.Skin;
- atmosphericMach = GUILayout.HorizontalSlider(atmosphericMach, 0.0f, SimManager.LastStage.maxMach); // the game limits mach to 50 but I did not see curve with more than 25
+ atmosphericMach = GUILayout.HorizontalSlider(Mathf.Clamp(atmosphericMach, 0.0f, SimManager.LastStage.maxMach), 0.0f, SimManager.LastStage.maxMach);
GUI.skin = null;
GUILayout.EndVertical();
GUILayout.EndHorizontal();
@@ -335,6 +335,7 @@
if (GUILayout.Button(bodyInfo.Children.Count > 0 ? bodyInfo.Name + " [" + bodyInfo.Children.Count + "]" : bodyInfo.Name, bodyInfo.Selected && bodyInfo.SelectedDepth == 0 ? this.bodiesButtonActiveStyle : this.bodiesButtonStyle))
{
CelestialBodies.SetSelectedBody(bodyInfo.Name);
+ Altitude = 0.0f;
this.bodiesList.Resize = true;
}
GUILayout.EndHorizontal();
--- a/KerbalEngineer/EngineerGlobals.cs
+++ b/KerbalEngineer/EngineerGlobals.cs
@@ -33,7 +33,7 @@
/// <summary>
/// Current version of the Kerbal Engineer assembly.
/// </summary>
- public const string AssemblyVersion = "1.0.16.1";
+ public const string AssemblyVersion = "1.0.16.2";
#endregion
Binary files a/Output/KerbalEngineer/KerbalEngineer.dll and b/Output/KerbalEngineer/KerbalEngineer.dll differ
--- a/Output/KerbalEngineer/KerbalEngineer.version
+++ b/Output/KerbalEngineer/KerbalEngineer.version
@@ -6,7 +6,7 @@
"MAJOR":1,
"MINOR":0,
"PATCH":16,
- "BUILD":1
+ "BUILD":2
},
"KSP_VERSION":
{