Merge pull request #54733 from robfram/particles-emit-old-location

This commit is contained in:
Rémi Verschelde 2021-11-15 23:16:32 +01:00 committed by GitHub
commit 908bd5bc41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6142,6 +6142,9 @@ void RasterizerStorageGLES3::particles_set_emitting(RID p_particles, bool p_emit
Particles *particles = particles_owner.getornull(p_particles);
ERR_FAIL_COND(!particles);
if (p_emitting && !particles->emitting) {
particles_request_process(p_particles);
}
particles->emitting = p_emitting;
}