mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 19:59:28 +02:00
Fix edit.js highlighting an object after being turned off
This commit is contained in:
parent
1e6c2e737a
commit
cf0940a65d
1 changed files with 3 additions and 1 deletions
|
@ -656,7 +656,9 @@ function mouseMove(event) {
|
||||||
|
|
||||||
function handleIdleMouse() {
|
function handleIdleMouse() {
|
||||||
idleMouseTimerId = null;
|
idleMouseTimerId = null;
|
||||||
highlightEntityUnderCursor(lastMousePosition, true);
|
if (isActive) {
|
||||||
|
highlightEntityUnderCursor(lastMousePosition, true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function highlightEntityUnderCursor(position, accurateRay) {
|
function highlightEntityUnderCursor(position, accurateRay) {
|
||||||
|
|
Loading…
Reference in a new issue