mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 17:41:12 +02:00
remove highlight when point to the sky
This commit is contained in:
parent
6ac43c34c2
commit
45e996bcfa
2 changed files with 6 additions and 0 deletions
|
@ -564,6 +564,9 @@ Script.include("/~/system/libraries/Xform.js");
|
||||||
}
|
}
|
||||||
} else if (this.distanceRotating) {
|
} else if (this.distanceRotating) {
|
||||||
this.distanceRotate(otherFarGrabModule);
|
this.distanceRotate(otherFarGrabModule);
|
||||||
|
} else if (this.highlightedEntity) {
|
||||||
|
Selection.removeFromSelectedItemsList(DISPATCHER_HOVERING_LIST, "entity", this.highlightedEntity);
|
||||||
|
this.highlightedEntity = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return this.exitIfDisabled(controllerData);
|
return this.exitIfDisabled(controllerData);
|
||||||
|
|
|
@ -63,6 +63,9 @@
|
||||||
this.highlightedEntity = targetEntityID;
|
this.highlightedEntity = targetEntityID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else if (this.highlightedEntity) {
|
||||||
|
dispatcherUtils.unhighlightTargetEntity(this.highlightedEntity);
|
||||||
|
this.highlightedEntity = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue