fix particle debug when unpaused (#343)
This commit is contained in:
parent
69d28bd7b0
commit
8e0708daad
@ -62,6 +62,7 @@ bool ParticleDebug::KeyPress(int key, Uint16 character, bool shift, bool ctrl, b
|
|||||||
{
|
{
|
||||||
if (key == 'f')
|
if (key == 'f')
|
||||||
{
|
{
|
||||||
|
model->SetPaused(1);
|
||||||
if (alt)
|
if (alt)
|
||||||
{
|
{
|
||||||
Debug(0, 0, 0);
|
Debug(0, 0, 0);
|
||||||
@ -96,7 +97,6 @@ bool ParticleDebug::KeyPress(int key, Uint16 character, bool shift, bool ctrl, b
|
|||||||
{
|
{
|
||||||
model->FrameStep(1);
|
model->FrameStep(1);
|
||||||
}
|
}
|
||||||
model->SetPaused(1);
|
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user