68430 Commits

Author SHA1 Message Date
Nyall Dawson
f48cd28207 When using mouse lock navigation, invert the vertical axis 2021-01-14 08:15:57 +10:00
Nyall Dawson
7b7f7c2e00 Match Q/E up/down direction with Blender 2021-01-14 08:15:57 +10:00
Nyall Dawson
514edfbba5 Fix jumpy first mouse movement in capture mouse mode 2021-01-14 08:15:57 +10:00
Nyall Dawson
2b9d77281c Experiment with capturing cursor via ~ press 2021-01-14 08:15:57 +10:00
Nyall Dawson
3d9afb5dd7 Wheel scroll changes movement speed 2021-01-14 08:15:57 +10:00
Nyall Dawson
ea5b4cb0d9 Use proper game style keyboard handling
Instead of just reponding to key presses/releases (and auto repeat
versions of these), instead track which keys are held down continuously
and use a timer based approach to handle the actual resultant camera
movement.

This allows use of multiple keys when navigating, e.g. moving forward
while strafing left/right/up/down.
2021-01-14 08:15:57 +10:00
Nyall Dawson
7f3b40772a Fix build 2021-01-14 08:15:57 +10:00
Belgacem
f24dc8c8e5 some fixes 2021-01-14 08:15:57 +10:00
Belgacem
36e3229f52 change for z for page up/down 2021-01-14 08:15:57 +10:00
Belgacem
b3d2059bd7 rename navigation modes 2021-01-14 08:15:57 +10:00
Belgacem
0318ff768d add movement speed combobox 2021-01-14 08:15:57 +10:00
Belgacem
44d39becf3 initial fly mode implementation 2021-01-14 08:15:57 +10:00
Denis Rouzaud
33cbe39b79 add missing includes 2021-01-14 08:09:36 +10:00
Denis Rouzaud
76a2869211 remove includes of binary dirs 2021-01-14 08:09:36 +10:00
Denis Rouzaud
21828ba85f [cmake] target_include_directories for 3d 2021-01-14 08:09:36 +10:00
Peter Petrik
723c070ddb fix compilation on lnx 2021-01-14 05:47:11 +10:00
Peter Petrik
8d240ecd4d move catch block to QgsQuickUtils::transformPoint since it can be invoced from qml 2021-01-14 05:47:11 +10:00
Martin Dobias
1ed818e264 Add mapRefreshCanceled() signal to QgsMapCanvas
This is useful when one wants to follow what exactly is happening
with map canvas rendering. We already have renderStarting() signal
when a job is started and mapCanvasRefreshed() signal when a job
has finished, but there was no notification if the pending job
got cancelled (for example because used moved/zoomed the map).
2021-01-14 05:23:43 +10:00
Denis Rouzaud
23b50ab264
[cmake] remove of redundant includes (#40993) 2021-01-13 19:48:58 +01:00
Denis Rouzaud
837db503a6
Merge pull request #40990 from 3nids/cmake-tid-gui
[cmake] more target_include_directories
2021-01-13 17:02:28 +01:00
Alessandro Pasotti
9370abe0ee
Merge pull request #40982 from mrylov/hana-provider
Add odbc-cpp-wrapper library to external folder
2021-01-13 15:59:32 +01:00
Belgacem
93f9ec2f79 add SIP_SKIP 2021-01-13 15:47:40 +01:00
Belgacem
f362eab3d8 fix indentation 2021-01-13 15:47:40 +01:00
Belgacem
3b0bb55f22 fix point clickable area 2021-01-13 15:47:40 +01:00
Belgacem
144e6b183e fix layout check 2021-01-13 15:47:40 +01:00
Belgacem
ec2fe64fd2 remove code duplication 2021-01-13 15:47:40 +01:00
Belgacem
0167d07eaa fix tests 2021-01-13 15:47:40 +01:00
Belgacem
05735cdeab move the implementation to Qgs3DMapToolIdentify 2021-01-13 15:47:40 +01:00
Belgacem
be88fff95c add some QgsRay3D tests 2021-01-13 15:47:40 +01:00
Belgacem
bfa835d3ac add QgsBox3DDistanceTo test 2021-01-13 15:47:40 +01:00
Belgacem
2c9c6f94b9 fix somethings and testRayFromScreenPoint 2021-01-13 15:47:40 +01:00
Belgacem
fa7e3d4f7d fix sip and add Nyall suggestions 2021-01-13 15:47:40 +01:00
Belgacem
6caf1bfe32 fix code_layout 2021-01-13 15:47:40 +01:00
Belgacem
f363877dfa unify 2D and 3D identify results conversion 2021-01-13 15:47:40 +01:00
Belgacem
59bb58f880 cleanup and fix symbol nullptr bug 2021-01-13 15:47:40 +01:00
Belgacem
e07a393385 add Qgs3DUtils::rayFromScreenPoint 2021-01-13 15:47:40 +01:00
Belgacem
0073c35b65 remove distanceFromPoint 2021-01-13 15:47:40 +01:00
Belgacem
4e2133f229 add QgsRay3D 2021-01-13 15:47:40 +01:00
Belgacem
a97ade0e88 address reviews 2021-01-13 15:47:40 +01:00
Belgacem
f85d551d2c make 3D identify results simular to 2D 2021-01-13 15:47:40 +01:00
Belgacem
d67bd5ad00 fix ept provider identify test 2021-01-13 15:47:40 +01:00
Belgacem
3c7e78861e fix attributes type 2021-01-13 15:47:40 +01:00
Belgacem
b5e6033a88 fix SIP 2021-01-13 15:47:40 +01:00
Belgacem
432f29be92 add pointsLimit and SIP 2021-01-13 15:47:40 +01:00
Belgacem
c4c7e25029 add QgsBox3d::distanceFromPoint doc 2021-01-13 15:47:40 +01:00
Belgacem
398144ee93 add docs 2021-01-13 15:47:40 +01:00
Belgacem
d136c3eb6f fix banned keywords 2021-01-13 15:47:40 +01:00
Belgacem
3a014ae0bf make identification work with point size 2021-01-13 15:47:40 +01:00
Belgacem
4f3f95a841 raycast intersection with node bounding box 2021-01-13 15:47:40 +01:00
Belgacem
a98ec51e5e save progress 2021-01-13 15:47:40 +01:00