diff options
author | vdyotte <vdyotte@gmail.com> | 2021-10-28 23:08:48 -0400 |
---|---|---|
committer | vdyotte <vdyotte@gmail.com> | 2021-10-28 23:08:48 -0400 |
commit | 02b6bbc5df079131eaa98925d299b7a328800583 (patch) | |
tree | 32ec079b7a6f3edcfb8e2f49ddc3c056d1f05e03 /tests/test_list.h | |
parent | d3547be9ae8ae8bfbbece4757fc0759b712354a7 (diff) |
fix hardcoded raycast distance with viewport object picking
having the raycast distance hardcoded to `10000` caused input events
to not be registered in very large 3D scenes.
This resolves the issue by using the cameras far distance instead.
Creating the more predictable behavior of if an object is visible,
it will be picked by the viewport.
resolves: #49735
Diffstat (limited to 'tests/test_list.h')
0 files changed, 0 insertions, 0 deletions