Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f1dc016cde1e
Choose a base ref
...
head repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c1239d9ad92d
Choose a head ref
  • 5 commits
  • 2 files changed
  • 2 contributors

Commits on May 8, 2021

  1. Copy the full SHA
    17a444b View commit details
  2. Next release is Gröbner.

    pleroy committed May 8, 2021
    Copy the full SHA
    31afb10 View commit details
  3. Merge pull request #2976 from eggrobin/2974

    Close planned orbit analyser if there is no flight plan
    eggrobin authored May 8, 2021
    Copy the full SHA
    c306b83 View commit details
  4. Merge pull request #2977 from pleroy/Gröbner

    Next release is Gröbner
    pleroy authored May 8, 2021
    Copy the full SHA
    40dfcbd View commit details

Commits on May 9, 2021

  1. Copy the full SHA
    c1239d9 View commit details
Showing with 7 additions and 3 deletions.
  1. +3 −3 ksp_plugin_adapter/main_window.cs
  2. +4 −0 ksp_plugin_adapter/orbit_analyser.cs
6 changes: 3 additions & 3 deletions ksp_plugin_adapter/main_window.cs
Original file line number Diff line number Diff line change
@@ -6,10 +6,10 @@ namespace ksp_plugin_adapter {

internal class MainWindow : VesselSupervisedWindowRenderer {
// Update this section before each release.
private const string next_release_name = "Green";
private const int next_release_lunation_number = 264;
private const string next_release_name = "Gröbner";
private const int next_release_lunation_number = 265;
private readonly DateTimeOffset next_release_date_ =
new DateTimeOffset(2021, 05, 11, 19, 01, 00, TimeSpan.Zero);
new DateTimeOffset(2021, 06, 10, 10, 54, 00, TimeSpan.Zero);

public MainWindow(PrincipiaPluginAdapter adapter,
FlightPlanner flight_planner,
4 changes: 4 additions & 0 deletions ksp_plugin_adapter/orbit_analyser.cs
Original file line number Diff line number Diff line change
@@ -642,6 +642,10 @@ protected override void RequestAnalysis() {
}

protected override OrbitAnalysis GetAnalysis() {
if (!plugin.FlightPlanExists(predicted_vessel.id.ToString())) {
Hide();
return new OrbitAnalysis();
}
return plugin.FlightPlanGetCoastAnalysis(predicted_vessel.id.ToString(),
manual_revolutions_per_cycle,
manual_days_per_cycle,