mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:03:53 +02:00
use precision picking in newEditEntities
This commit is contained in:
parent
91fd574eb5
commit
8dd1a2815f
1 changed files with 1 additions and 1 deletions
|
@ -465,7 +465,7 @@ function rayPlaneIntersection(pickRay, point, normal) {
|
|||
function findClickedEntity(event) {
|
||||
var pickRay = Camera.computePickRay(event.x, event.y);
|
||||
|
||||
var foundIntersection = Entities.findRayIntersection(pickRay);
|
||||
var foundIntersection = Entities.findRayIntersection(pickRay, true); // want precision picking
|
||||
|
||||
if (!foundIntersection.accurate) {
|
||||
return null;
|
||||
|
|
Loading…
Reference in a new issue