Use global picking API

When gobal picking is available (Qt 6.2+), use that instead of toggling
models pickable properties.

Task-number: QDS-4978
Change-Id: Id2a501ae97955128874447fa8a3b8afab3d1f2c7
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
Kaj Grönholm
2021-09-06 14:24:23 +03:00
parent 7c2121bcfd
commit d8a7c97fcb
21 changed files with 59 additions and 1 deletions

View File

@@ -82,6 +82,7 @@ View3D {
Model {
id: model
readonly property bool _edit3dLocked: true // Make this non-pickable
eulerRotation.y: 45
source: sourceModel.source