diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2015-12-01 10:40:56 +0000 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2015-12-04 16:22:29 +0000 |
commit | efef7243aa6f19ee0ac1c2747c85a7ce932f7f32 (patch) | |
tree | db0b209783e3eb5346a8c7ea581eff8d06c87303 /src/render/jobs | |
parent | 5263848c36cbe483641b426a8c835e49b3350e50 (diff) |
Temporarily disable triangle based picking
Until such time as we can only perform it upon request rather than every
time the mouse moves.
Change-Id: Idcc940360cc2bf8133cd02ac2b108996a19b4901
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/jobs')
-rw-r--r-- | src/render/jobs/pickboundingvolumejob.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/jobs/pickboundingvolumejob.cpp b/src/render/jobs/pickboundingvolumejob.cpp index 97d6e2bc0..1dc0b2575 100644 --- a/src/render/jobs/pickboundingvolumejob.cpp +++ b/src/render/jobs/pickboundingvolumejob.cpp @@ -265,7 +265,7 @@ void PickBoundingVolumeJob::run() vc.cameraId, rayCasting, &sphereGatherer); - +#if 0 Q_FOREACH (const Qt3DCore::QNodeId sphereEntityId, sphereHits) { if (triangleHitsForViewportAndCamera(event.pos(), vc.viewport, @@ -274,6 +274,7 @@ void PickBoundingVolumeJob::run() rayCasting).isEmpty()) sphereHits.removeAll(sphereEntityId); } +#endif // If we have hits if (!sphereHits.isEmpty()) { |