diff options
author | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2023-01-20 22:33:05 +0100 |
---|---|---|
committer | Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | 2023-02-07 13:54:47 +0100 |
commit | 5312d83f3b20a07e772fb69fe97ed59dd2011756 (patch) | |
tree | 102df7586ff0746534ce8bf8c0ec6f744eb3fedc /scene/main/missing_node.cpp | |
parent | 3f02cf7ced320f25ac5f4f72d7a57d98296bfcd1 (diff) |
Fix Viewport::get_mouse_position for SubViewports
SubViewports don't have a cached mouse position available.
This PR calculates the mouse position from the screen position of
the mouse cursor.
Diffstat (limited to 'scene/main/missing_node.cpp')
0 files changed, 0 insertions, 0 deletions