mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Physics Interpolation - Auto-reset on set_physics_interpolation_mode()
Fixes historical bug where auto-reset wasn't working correctly. Also fixes process modes on Cameras when mode is changed.
This commit is contained in:
@@ -230,6 +230,7 @@ void Camera3D::_notification(int p_what) {
|
||||
if (is_inside_tree()) {
|
||||
_interpolation_data.xform_curr = get_global_transform();
|
||||
_interpolation_data.xform_prev = _interpolation_data.xform_curr;
|
||||
_update_process_mode();
|
||||
}
|
||||
} break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user