diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2017-10-21 22:17:26 +0200 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2017-10-21 22:17:47 +0200 |
commit | 7b12ae39f280e9168e314cba08107cce6b99c4ff (patch) | |
tree | 934372cc21bed89c10426511658a5cef6b8ece72 /main/tests/test_gui.h | |
parent | 6361e24f29ae735b75bcd27f9fe521397ce7c10c (diff) |
Rename RayCasts collision_layer to collision_mask
The point is that `RayCast`s are checked against objects' `collision_layer`(s), but they themselves are considered no to _belong_ to any layer. Therefore, the correct name for their property is `collision_mask`, rather than `collision_layer`.
Only renaming is needed since the behavior was already the right one, only that it wasn't matching what users would expect from the name and description of the property.
Fixes #7589, where it's also discussed.
Diffstat (limited to 'main/tests/test_gui.h')
0 files changed, 0 insertions, 0 deletions