diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2021-11-26 00:53:27 +0100 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2021-11-27 01:32:02 +0100 |
commit | cfacd9c057eb38ab0760374bd52905874b5b33ae (patch) | |
tree | d34bea4825c1bd6c54eccbdf034b0094db6252b5 /scene/main/viewport.h | |
parent | 2681d93b8a2f52eaae0f96c682f536704f2a7b78 (diff) |
Fix offset in Viewport drag movement
The initial offset was using the mouse position when the threshold
was reached instead of the initial click position. This was adding
the drag threshold distance as an extra offset to the final
transformation.
Now the offset is calculated from the initial click position.
Diffstat (limited to 'scene/main/viewport.h')
0 files changed, 0 insertions, 0 deletions