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: 3c6350c05b6c
Choose a base ref
...
head repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f2add7c4bc7b
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on May 11, 2019

  1. Copy the full SHA
    ca0202b View commit details
  2. Merge pull request #2160 from pleroy/2158

    Systematically set the flight plan final time when displaying the flight planner
    pleroy authored May 11, 2019
    Copy the full SHA
    f2add7c View commit details
Showing with 1 addition and 2 deletions.
  1. +1 −2 ksp_plugin_adapter/flight_planner.cs
3 changes: 1 addition & 2 deletions ksp_plugin_adapter/flight_planner.cs
Original file line number Diff line number Diff line change
@@ -112,12 +112,11 @@ private void UpdateVesselAndBurnEditors() {
plugin.HasVessel(vessel_guid) &&
plugin.FlightPlanExists(vessel_guid)) {
burn_editors_ = new List<BurnEditor>();
final_time_.value = plugin.FlightPlanGetDesiredFinalTime(vessel_guid);
for (int i = 0;
i < plugin.FlightPlanNumberOfManoeuvres(vessel_guid);
++i) {
// Dummy initial time, we call |Reset| immediately afterwards.
final_time_.value =
plugin.FlightPlanGetDesiredFinalTime(vessel_guid);
burn_editors_.Add(
new BurnEditor(adapter_,
vessel_,