diff options
author | Pratik Borhade <pratikborhade302@gmail.com> | 2022-10-19 15:50:47 +0300 |
---|---|---|
committer | Pratik Borhade <pratikborhade302@gmail.com> | 2022-10-19 15:50:47 +0300 |
commit | ead3fc4a075d24e3481dfebdc63d54e7143a027c (patch) | |
tree | 277014210edbb9f97f6969b7dc6b33c3b7b0d5b8 /intern/ghost/GHOST_C-api.h | |
parent | 3ac2f15a04c5c5425e086427170b5d1b2f559e82 (diff) |
Fix T99997: Calling teleport without waiting for the previous event disables gravity
During teleport event, gravity is disabled and WalkMethod
is stored in `teleport.navigation_mode` which is used later to reset
the status after execution. Calling teleport events consecutively
will change the initial WalkMethod value. So update it only on the
first call. Also remove `else condition` as it stops the previously running
teleport when the new teleport call fails to find a hit point.
Reviewed by: dfelinto, mano-wii
Differential Revision: https://developer.blender.org/D15574
Diffstat (limited to 'intern/ghost/GHOST_C-api.h')
0 files changed, 0 insertions, 0 deletions