From 5892ddbe24b6938cf5edb0c5d85a88fa12e22883 Mon Sep 17 00:00:00 2001 From: Ricardo Buring Date: Tue, 11 Mar 2025 12:12:32 +0100 Subject: [PATCH] CPUParticles2D: Fix fixed timestep interpolation after entering tree with emitting = false This line was left over from earlier testing; the intended functionality is now contained in _refresh_interpolation_state(). --- scene/2d/cpu_particles_2d.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/scene/2d/cpu_particles_2d.cpp b/scene/2d/cpu_particles_2d.cpp index 279bb8ff3d9..b7700350978 100644 --- a/scene/2d/cpu_particles_2d.cpp +++ b/scene/2d/cpu_particles_2d.cpp @@ -1194,8 +1194,6 @@ void CPUParticles2D::_notification(int p_what) { _refresh_interpolation_state(); - set_physics_process_internal(emitting && _interpolation_data.interpolated_follow); - // If we are interpolated following, then reset physics interpolation // when first appearing. This won't be called by canvas item, as in the // following mode, is_physics_interpolated() is actually FALSE.