Permalink
Browse files

fix particle debug when unpaused (#343)

  • Loading branch information...
krawthekrow authored and jacob1 committed Oct 1, 2016
1 parent 69d28bd commit 8e0708daad6dcbc8366cf00497f0cb60bb06c949
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/debug/ParticleDebug.cpp
@@ -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);
@@ -96,7 +97,6 @@ bool ParticleDebug::KeyPress(int key, Uint16 character, bool shift, bool ctrl, b
{
model->FrameStep(1);
}
model->SetPaused(1);
}
return false;
}

0 comments on commit 8e0708d

Please sign in to comment.