diff options
author | Kevin Ottens <kevin.ottens@kdab.com> | 2017-05-04 13:30:43 +0200 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@qt.io> | 2017-05-05 04:48:04 +0000 |
commit | 6e5acfcce3c287c30bab4cdc6fc5f7545a15255e (patch) | |
tree | b87bf48d453a49aab4670f6037152fc1e53b6465 /examples/qt3d/multiviewport | |
parent | 043b8bc956eafcf63da88ef011e73bb5dbcc6683 (diff) |
Scene2D: put picking coordinates back in window coordinates
We get the picking coordinates in model local tex coords which have a
different convention than the mouse events in window coordinates. So
flip them vertically to pass them in the right convention.
Change-Id: I558cc62c7c820677407730eead8011193a4b967c
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'examples/qt3d/multiviewport')
0 files changed, 0 insertions, 0 deletions