Merge pull request #103966 from rburing/fti_2d_particles_oops

CPUParticles2D: Fix physics interpolation after entering tree with `emitting = false`
This commit is contained in:
Thaddeus Crews 2025-03-12 10:31:47 -05:00
commit c8cd979552
No known key found for this signature in database
GPG key ID: 62181B86FE9E5D84

View file

@ -1232,8 +1232,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.