Merge pull request #29974 from clayjohn/particles_restart
Properly set emitting when particles restart
This commit is contained in:
commit
25022a1d89
13 changed files with 40 additions and 7 deletions
|
|
@ -225,6 +225,8 @@ void CPUParticles::restart() {
|
|||
frame_remainder = 0;
|
||||
cycle = 0;
|
||||
|
||||
set_emitting(true);
|
||||
|
||||
{
|
||||
int pc = particles.size();
|
||||
PoolVector<Particle>::Write w = particles.write();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue