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