Skip to content

Commit 5892ddb

Browse files
committed
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().
1 parent 78c9f8d commit 5892ddb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

scene/2d/cpu_particles_2d.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,8 +1194,6 @@ void CPUParticles2D::_notification(int p_what) {
11941194

11951195
_refresh_interpolation_state();
11961196

1197-
set_physics_process_internal(emitting && _interpolation_data.interpolated_follow);
1198-
11991197
// If we are interpolated following, then reset physics interpolation
12001198
// when first appearing. This won't be called by canvas item, as in the
12011199
// following mode, is_physics_interpolated() is actually FALSE.

0 commit comments

Comments
 (0)