diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2019-03-05 22:31:02 +0100 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2019-03-05 22:33:34 +0100 |
commit | 82902656ac6c60c40979e9cb513b65d96119f917 (patch) | |
tree | ea78cf3be02c52c9bd1819c8409cc2d2c9af65a7 /scene/main/node.h | |
parent | f43ee4aff8e5f72c24cfbd8f1ff90703714857e0 (diff) |
Improve/fix picking
Acknowledge mouse button events as position tellers (to make picking more solid; for instance, the touch mouse is raised with a mouse unpressed event that may have a more current position)
Forget mouse position for physics if touch mouse raised (because the position known as last is no longer meaningful)
Remove needless check for mouse over/exit (now there's code to inject an spurious move for cases where camera/objects have moved)
Restrict 2D mouse over/exit to mouse events (including emulated from touch; true touches shouldn't trigger the signals)
Fixes #26460.
Diffstat (limited to 'scene/main/node.h')
0 files changed, 0 insertions, 0 deletions