mirror of
https://github.com/overte-org/overte.git
synced 2025-04-13 11:43:24 +02:00
fixing build error
This commit is contained in:
parent
502de63d3f
commit
1d86f3816d
1 changed files with 5 additions and 0 deletions
|
@ -8687,6 +8687,11 @@ void Application::updateLoginDialogOverlayPosition() {
|
|||
bool overlayOutOfBounds = glm::distance(overlayPositionVec, cameraPositionVec) > 1.0f;
|
||||
|
||||
if (pointAngle > LOOK_AWAY_THRESHOLD_ANGLE || overlayOutOfBounds) {
|
||||
QVariantMap properties {
|
||||
{"position", vec3toVariant(newOverlayPositionVec)},
|
||||
{"orientation", quatToVariant(newOverlayOrientation)}
|
||||
};
|
||||
overlays.editOverlay(_loginDialogOverlayID, properties);
|
||||
const auto KEYBOARD_LOCAL_ORIENTATION = glm::quat(0.0f, 0.0, 1.0f, 0.25f);
|
||||
auto keyboardLocalOffset = glm::vec3(-0.4f * getMyAvatar()->getSensorToWorldScale(), -0.3f, 0.2f);
|
||||
QVariantMap keyboardProperties {
|
||||
|
|
Loading…
Reference in a new issue