1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Restore previous mouse position when leaving the editor freelook mode

- Remove the crosshair as it no longer serves a purpose (the cursor will
  now appear where the user "expects" it to).

This closes https://github.com/godotengine/godot-proposals/issues/1076.

(cherry picked from commit 4a542e0007)
This commit is contained in:
Hugo Locurcio
2020-06-17 20:02:46 +02:00
committed by Rémi Verschelde
parent bf913d6917
commit d4dd80afe7
3 changed files with 8 additions and 17 deletions

View File

@@ -266,8 +266,8 @@ private:
bool freelook_active;
real_t freelook_speed;
Vector2 previous_mouse_position;
TextureRect *crosshair;
Label *info_label;
Label *cinema_label;
Label *locked_label;