mirror of
https://github.com/lubosz/overte.git
synced 2025-04-25 01:03:59 +02:00
Remove extraneous getDrawonHUD call
This commit is contained in:
parent
929200bc76
commit
3bfc298349
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ unsigned int Overlays::getOverlayAtPoint(const glm::vec2& point) {
|
|||
unsigned int thisID = i.key();
|
||||
if (i.value()->is3D()) {
|
||||
Base3DOverlay* thisOverlay = static_cast<Base3DOverlay*>(i.value());
|
||||
if (thisOverlay->getDrawOnHUD() && !thisOverlay->getIgnoreRayIntersection()) {
|
||||
if (!thisOverlay->getIgnoreRayIntersection()) {
|
||||
if (thisOverlay->findRayIntersection(origin, direction, distance, thisFace)) {
|
||||
return thisID;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue