1
0
Fork 0

fix gpu_particles_3d emitting finished signal on ready

This commit is contained in:
Travis Lange 2025-01-15 16:31:57 -05:00
parent 4ce466d7fa
commit d702e02172
1 changed files with 5 additions and 1 deletions

View File

@ -92,7 +92,11 @@ void GPUParticles3D::set_one_shot(bool p_one_shot) {
if (is_emitting()) { if (is_emitting()) {
if (!one_shot) { if (!one_shot) {
restart(); if (!use_fixed_seed) {
set_seed(Math::rand());
}
RenderingServer::get_singleton()->particles_restart(particles);
} }
} }
} }