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

Commits on Mar 22, 2017

  1. Copy the full SHA
    410f693 View commit details
  2. Merge pull request #1280 from eggrobin/docking-mysteries

    Fix an issue with ModularVesselPrecalculate
    pleroy authored Mar 22, 2017
    Copy the full SHA
    b700fc7 View commit details
Showing with 5 additions and 1 deletion.
  1. +5 −1 ksp_plugin_adapter/ksp_plugin_adapter.cs
6 changes: 5 additions & 1 deletion ksp_plugin_adapter/ksp_plugin_adapter.cs
Original file line number Diff line number Diff line change
@@ -922,7 +922,11 @@ private void SetBodyFramesAndPrecalculateVessels() {
continue;
}
vessel.precalc.enabled = true;
vessel.precalc.FixedUpdate();
// In stock this is equivalent to |FixedUpdate()|. With
// ModularFlightIntegrator's ModularVesselPrecalculate, which gets run
// in TimingPre like us, this comes with a flag that ensures it only gets
// run once.
vessel.precalc.MainPhysics(true);
}
}