Handle negative MaxNumberRipples more sensibly

pull/3236/head
Alexei Kotov 6 months ago
parent 82285dadc4
commit 479d4931d7

@ -243,7 +243,7 @@ namespace MWRender
}
else
{
if (mMaxNumberRipples == 0)
if (mMaxNumberRipples <= 0)
return;
osgParticle::ParticleSystem::ScopedWriteLock lock(*mParticleSystem->getReadWriteMutex());

Loading…
Cancel
Save