ソースを参照

Updated to use new 'index' field of BaseParticle.

Josh Wilson 20 年 前
コミット
5ece0deebf
1 ファイル変更1 行追加0 行削除
  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);
 }