mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
Updated to use new 'index' field of BaseParticle.
This commit is contained in:
parent
8c4ba1acd2
commit
5ece0deebf
@ -70,6 +70,7 @@ populate_particle(BaseParticle *bp) {
|
|||||||
bp->set_active(false);
|
bp->set_active(false);
|
||||||
bp->set_alive(false);
|
bp->set_alive(false);
|
||||||
bp->set_age(0.0f);
|
bp->set_age(0.0f);
|
||||||
|
bp->set_index(0);
|
||||||
|
|
||||||
populate_child_particle(bp);
|
populate_child_particle(bp);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user