You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
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().
This commit is contained in:
@@ -1194,8 +1194,6 @@ void CPUParticles2D::_notification(int p_what) {
|
|||||||
|
|
||||||
_refresh_interpolation_state();
|
_refresh_interpolation_state();
|
||||||
|
|
||||||
set_physics_process_internal(emitting && _interpolation_data.interpolated_follow);
|
|
||||||
|
|
||||||
// If we are interpolated following, then reset physics interpolation
|
// If we are interpolated following, then reset physics interpolation
|
||||||
// when first appearing. This won't be called by canvas item, as in the
|
// when first appearing. This won't be called by canvas item, as in the
|
||||||
// following mode, is_physics_interpolated() is actually FALSE.
|
// following mode, is_physics_interpolated() is actually FALSE.
|
||||||
|
|||||||
Reference in New Issue
Block a user