mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 18:53:37 +02:00
Make accurateRay parameter required
This commit is contained in:
parent
dcb4d9f02d
commit
bf6d63cf0c
1 changed files with 1 additions and 1 deletions
|
@ -559,7 +559,7 @@ function handleIdleMouse() {
|
|||
|
||||
function highlightEntityUnderCursor(position, accurateRay) {
|
||||
var pickRay = Camera.computePickRay(position.x, position.y);
|
||||
var entityIntersection = Entities.findRayIntersection(pickRay, accurateRay === true);
|
||||
var entityIntersection = Entities.findRayIntersection(pickRay, accurateRay);
|
||||
if (entityIntersection.accurate) {
|
||||
if(highlightedEntityID.isKnownID && highlightedEntityID.id != entityIntersection.entityID.id) {
|
||||
selectionDisplay.unhighlightSelectable(highlightedEntityID);
|
||||
|
|
Loading…
Reference in a new issue