1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

fix gpu_particles_3d randomizing seed when set_one_shot is called

This commit is contained in:
Travis Lange
2025-01-22 11:29:52 -05:00
parent f1c0b5b854
commit 3973c0b644
2 changed files with 2 additions and 4 deletions

View File

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