mirror of
https://github.com/overte-org/overte.git
synced 2025-04-26 02:56:31 +02:00
Fix the tablet
This commit is contained in:
parent
a346e5ccf6
commit
796292dd4c
1 changed files with 3 additions and 0 deletions
|
@ -827,6 +827,9 @@ PointerEvent Overlays::calculateOverlayPointerEvent(OverlayID overlayID, PickRay
|
||||||
}
|
}
|
||||||
glm::vec3 position = overlay->getPosition();
|
glm::vec3 position = overlay->getPosition();
|
||||||
glm::quat rotation = overlay->getRotation();
|
glm::quat rotation = overlay->getRotation();
|
||||||
|
if (getOverlayType(overlayID) == "web3d") {
|
||||||
|
overlay = std::dynamic_pointer_cast<Web3DOverlay>(getOverlay(overlayID));
|
||||||
|
}
|
||||||
glm::vec2 dimensions = overlay->getSize();
|
glm::vec2 dimensions = overlay->getSize();
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue