summaryrefslogtreecommitdiffstats
path: root/tests/manual/lod
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2017-03-27 14:58:40 +0100
committerSean Harmer <sean.harmer@kdab.com>2017-03-29 17:28:22 +0000
commite841be3ef9b4ea089265991cb0fe3a5d4ee14224 (patch)
tree3aad8db80493fde53cf5ae4c3c47f18823c7132e /tests/manual/lod
parent873e8ac06c606e71aafb9be9baa21143e6757df5 (diff)
Add Threshold suffix to QLevelOfDetail enum values
Change-Id: I70a39b4a2664e2952d9f3cdd1ace1f021b0311dd Reviewed-by: Paul Lemire <paul.lemire@kdab.com> Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'tests/manual/lod')
-rw-r--r--tests/manual/lod/main.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/manual/lod/main.qml b/tests/manual/lod/main.qml
index 0c03ff257..80547dcff 100644
--- a/tests/manual/lod/main.qml
+++ b/tests/manual/lod/main.qml
@@ -126,7 +126,7 @@ Entity {
id: lod
camera: camera
thresholds: [1000, 600, 300, 180]
- thresholdType: LevelOfDetail.ProjectedScreenPixelSize
+ thresholdType: LevelOfDetail.ProjectedScreenPixelSizeThreshold
volumeOverride: lod.createBoundingSphere(Qt.vector3d(0, 0, 0), 2.0)
}
]
@@ -149,7 +149,7 @@ Entity {
camera: camera
thresholds: [20, 35, 50, 65]
- thresholdType: LevelOfDetail.DistanceToCamera
+ thresholdType: LevelOfDetail.DistanceToCameraThreshold
volumeOverride: lodLoader.createBoundingSphere(Qt.vector3d(0, 0, 0), -1)
sources: ["qrc:/SphereEntity.qml", "qrc:/CylinderEntity.qml", "qrc:/ConeEntity.qml", "qrc:/CuboidEntity.qml"]
}
@@ -171,7 +171,7 @@ Entity {
LevelOfDetailSwitch {
camera: camera
thresholds: [20, 35, 50, 65]
- thresholdType: LevelOfDetail.DistanceToCamera
+ thresholdType: LevelOfDetail.DistanceToCameraThreshold
}
]