Skip to content

Commit

Permalink
add back adjusting apo-at-apo and per-at-per
Browse files Browse the repository at this point in the history
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
  • Loading branch information
lamont-granquist committed Jul 23, 2023
1 parent 29b2e36 commit 9605873
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MechJeb2/Maneuver/OperationApoapsis.cs
Expand Up @@ -19,7 +19,7 @@ public OperationApoapsis()
{
_timeSelector = new TimeSelector(new[]
{
TimeReference.PERIAPSIS, TimeReference.X_FROM_NOW, TimeReference.ALTITUDE, TimeReference.EQ_DESCENDING, TimeReference.EQ_ASCENDING
TimeReference.PERIAPSIS, TimeReference.APOAPSIS, TimeReference.X_FROM_NOW, TimeReference.ALTITUDE, TimeReference.EQ_DESCENDING, TimeReference.EQ_ASCENDING
});
}

Expand Down
2 changes: 1 addition & 1 deletion MechJeb2/Maneuver/OperationPeriapsis.cs
Expand Up @@ -18,7 +18,7 @@ public class OperationPeriapsis : Operation

public OperationPeriapsis()
{
_timeSelector = new TimeSelector(new[] { TimeReference.APOAPSIS, TimeReference.X_FROM_NOW, TimeReference.ALTITUDE });
_timeSelector = new TimeSelector(new[] { TimeReference.APOAPSIS, TimeReference.PERIAPSIS, TimeReference.X_FROM_NOW, TimeReference.ALTITUDE });
}

public override void DoParametersGUI(Orbit o, double universalTime, MechJebModuleTargetController target)
Expand Down

0 comments on commit 9605873

Please sign in to comment.