Avoid virtual call in ParticleSystem ctor

pull/2602/head
elsid 5 years ago
parent f156c9522e
commit 8d358eeb7d
No known key found for this signature in database
GPG Key ID: D27B8E8D10A2896B

@ -27,7 +27,7 @@ ParticleSystem::ParticleSystem(const ParticleSystem &copy, const osg::CopyOp &co
{
// For some reason the osgParticle constructor doesn't copy the particles
for (int i=0;i<copy.numParticles()-copy.numDeadParticles();++i)
createParticle(copy.getParticle(i));
ParticleSystem::createParticle(copy.getParticle(i));
}
void ParticleSystem::setQuota(int quota)

Loading…
Cancel
Save