mirror of
https://github.com/godotengine/godot
synced 2024-09-15 21:20:08 +00:00
Merge pull request #84465 from KeyboardDanni/deferred_camera
Fix Camera2D frame delay (port from 3.x)
This commit is contained in:
commit
ebc30b93ac
|
@ -229,7 +229,7 @@ void Camera2D::_notification(int p_what) {
|
|||
} break;
|
||||
|
||||
case NOTIFICATION_TRANSFORM_CHANGED: {
|
||||
if (!is_processing_internal() && !is_physics_processing_internal()) {
|
||||
if (!position_smoothing_enabled || _is_editing_in_editor()) {
|
||||
_update_scroll();
|
||||
}
|
||||
} break;
|
||||
|
|
Loading…
Reference in a new issue