fix ctrl+f shortcut not working with particle debugging enabled
This commit is contained in:
parent
a278892267
commit
2a829c2394
@ -84,6 +84,8 @@ bool ParticleDebug::KeyPress(int key, Uint16 character, bool shift, bool ctrl, b
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (ctrl)
|
||||||
|
return true;
|
||||||
if (sim->debug_currentParticle > 0)
|
if (sim->debug_currentParticle > 0)
|
||||||
{
|
{
|
||||||
sim->UpdateParticles(sim->debug_currentParticle, NPART);
|
sim->UpdateParticles(sim->debug_currentParticle, NPART);
|
||||||
|
Reference in New Issue
Block a user