-
Notifications
You must be signed in to change notification settings - Fork 69
Fix a crash when crashing a vessel into another #1555
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
journal/player_test.cpp
Outdated
@@ -106,23 +106,21 @@ TEST_F(PlayerTest, DISABLED_Debug) { | |||
LOG(ERROR) << "Last successful method out/return: \n" | |||
<< player.last_method_out_return().DebugString(); | |||
|
|||
#if 0 | |||
#if 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert.
journal/player_test.cpp
Outdated
} | ||
LOG(ERROR) << "Running unpaired method:\n" << method_in.DebugString(); | ||
CHECK(RunIfAppropriate<AdvanceTime>(method_in, | ||
CHECK(RunIfAppropriate<CatchUpLaggingVessels>(method_in, | ||
method_out_return, | ||
player)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bad indent.
ksp_plugin/pile_up.cpp
Outdated
void PileUp::DeformPileUpIfNeeded() { | ||
if (apparent_part_degrees_of_freedom_.empty()) { | ||
return; | ||
} | ||
// A consistency check that |SetPartApparentDegreesOfFreedom| was called for | ||
// all the parts. | ||
// TODO(egg): I'd like to log some useful information on check failure, but I | ||
// need clean way of getting the debug strings of all parts (rather than giant |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"a clean"?
Fix #1553.