Browse Source

Updated to use new 'index' field of BaseParticle.

Josh Wilson 20 years ago
parent
commit
5ece0deebf
1 changed files with 1 additions and 0 deletions
  1. 1 0
      panda/src/particlesystem/baseParticleFactory.cxx

+ 1 - 0
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);
 }