mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-29 22:22:54 +02:00
use correct function for peeked overlay
This commit is contained in:
parent
9deb9744c6
commit
61975fe33a
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ function makeTriggerHandler(hand) {
|
||||||
if (pickRay) {
|
if (pickRay) {
|
||||||
var overlayIntersection = Overlays.findRayIntersection(pickRay);
|
var overlayIntersection = Overlays.findRayIntersection(pickRay);
|
||||||
if (overlayIntersection.intersects) {
|
if (overlayIntersection.intersects) {
|
||||||
handleClickedOverlay(overlayIntersection);
|
handleSelectedOverlay(overlayIntersection);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (triggered && (value < TRIGGER_OFF_VALUE)) {
|
} else if (triggered && (value < TRIGGER_OFF_VALUE)) {
|
||||||
|
|
Loading…
Reference in a new issue