mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-13 18:42:33 +02:00
Merge pull request #13123 from druiz17/RC67
remove highlight on entity when point to the sky (RC67)
This commit is contained in:
commit
a6eed27bdd
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