From 5ece0deebf32d5edfd59896548cf37e7301e300d Mon Sep 17 00:00:00 2001 From: Josh Wilson Date: Thu, 14 Jul 2005 18:19:13 +0000 Subject: [PATCH] Updated to use new 'index' field of BaseParticle. --- panda/src/particlesystem/baseParticleFactory.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/panda/src/particlesystem/baseParticleFactory.cxx b/panda/src/particlesystem/baseParticleFactory.cxx index 0200aab633..6f78a9f42d 100644 --- a/panda/src/particlesystem/baseParticleFactory.cxx +++ b/panda/src/particlesystem/baseParticleFactory.cxx @@ -70,6 +70,7 @@ populate_particle(BaseParticle *bp) { bp->set_active(false); bp->set_alive(false); bp->set_age(0.0f); + bp->set_index(0); populate_child_particle(bp); }