Skip to content

Commit

Permalink
fix particle debug when unpaused (#343)
Browse files Browse the repository at this point in the history
  • Loading branch information
krawthekrow authored and jacob1 committed Oct 1, 2016
1 parent 69d28bd commit 8e0708d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/debug/ParticleDebug.cpp
Expand Up @@ -62,6 +62,7 @@ bool ParticleDebug::KeyPress(int key, Uint16 character, bool shift, bool ctrl, b
{
if (key == 'f')
{
model->SetPaused(1);
if (alt)
{
Debug(0, 0, 0);
Expand Down Expand Up @@ -96,7 +97,6 @@ bool ParticleDebug::KeyPress(int key, Uint16 character, bool shift, bool ctrl, b
{
model->FrameStep(1);
}
model->SetPaused(1);
}
return false;
}
Expand Down

0 comments on commit 8e0708d

Please sign in to comment.