mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 23:40:11 +02:00
Merge branch 'master' of https://github.com/highfidelity/hifi into newEntityListView
This commit is contained in:
commit
074c3f2c7c
4 changed files with 3 additions and 10 deletions
|
@ -2829,8 +2829,10 @@ void RayToAvatarIntersectionResultFromScriptValue(const QScriptValue& object, Ra
|
||||||
value.extraInfo = object.property("extraInfo").toVariant().toMap();
|
value.extraInfo = object.property("extraInfo").toVariant().toMap();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// these coefficients can be changed via JS for experimental tuning
|
||||||
|
// use AvatatManager.setAvatarSortCoefficient("name", value) by a user with domain kick-rights
|
||||||
float AvatarData::_avatarSortCoefficientSize { 8.0f };
|
float AvatarData::_avatarSortCoefficientSize { 8.0f };
|
||||||
float AvatarData::_avatarSortCoefficientCenter { 4.0f };
|
float AvatarData::_avatarSortCoefficientCenter { 0.25f };
|
||||||
float AvatarData::_avatarSortCoefficientAge { 1.0f };
|
float AvatarData::_avatarSortCoefficientAge { 1.0f };
|
||||||
|
|
||||||
QScriptValue AvatarEntityMapToScriptValue(QScriptEngine* engine, const AvatarEntityMap& value) {
|
QScriptValue AvatarEntityMapToScriptValue(QScriptEngine* engine, const AvatarEntityMap& value) {
|
||||||
|
|
|
@ -538,7 +538,6 @@ void AccountManager::requestAccessToken(const QString& login, const QString& pas
|
||||||
|
|
||||||
QNetworkReply* requestReply = networkAccessManager.post(request, postData);
|
QNetworkReply* requestReply = networkAccessManager.post(request, postData);
|
||||||
connect(requestReply, &QNetworkReply::finished, this, &AccountManager::requestAccessTokenFinished);
|
connect(requestReply, &QNetworkReply::finished, this, &AccountManager::requestAccessTokenFinished);
|
||||||
connect(requestReply, SIGNAL(error(QNetworkReply::NetworkError)), this, SLOT(requestAccessTokenError(QNetworkReply::NetworkError)));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void AccountManager::requestAccessTokenWithSteam(QByteArray authSessionTicket) {
|
void AccountManager::requestAccessTokenWithSteam(QByteArray authSessionTicket) {
|
||||||
|
@ -633,12 +632,6 @@ void AccountManager::requestAccessTokenFinished() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void AccountManager::requestAccessTokenError(QNetworkReply::NetworkError error) {
|
|
||||||
// TODO: error handling
|
|
||||||
qCDebug(networking) << "AccountManager: failed to fetch access token - " << error;
|
|
||||||
emit loginFailed();
|
|
||||||
}
|
|
||||||
|
|
||||||
void AccountManager::refreshAccessTokenFinished() {
|
void AccountManager::refreshAccessTokenFinished() {
|
||||||
QNetworkReply* requestReply = reinterpret_cast<QNetworkReply*>(sender());
|
QNetworkReply* requestReply = reinterpret_cast<QNetworkReply*>(sender());
|
||||||
|
|
||||||
|
|
|
@ -106,7 +106,6 @@ public slots:
|
||||||
void requestAccessTokenFinished();
|
void requestAccessTokenFinished();
|
||||||
void refreshAccessTokenFinished();
|
void refreshAccessTokenFinished();
|
||||||
void requestProfileFinished();
|
void requestProfileFinished();
|
||||||
void requestAccessTokenError(QNetworkReply::NetworkError error);
|
|
||||||
void refreshAccessTokenError(QNetworkReply::NetworkError error);
|
void refreshAccessTokenError(QNetworkReply::NetworkError error);
|
||||||
void requestProfileError(QNetworkReply::NetworkError error);
|
void requestProfileError(QNetworkReply::NetworkError error);
|
||||||
void logout();
|
void logout();
|
||||||
|
|
|
@ -140,7 +140,6 @@
|
||||||
localPosition: { x: 0.0 , y: -1.5, z: -0.3 },
|
localPosition: { x: 0.0 , y: -1.5, z: -0.3 },
|
||||||
url: Script.resourcesPath() + "images/interstitialPage/goTo_button.png",
|
url: Script.resourcesPath() + "images/interstitialPage/goTo_button.png",
|
||||||
alpha: 1,
|
alpha: 1,
|
||||||
dimensions: { x: 1.5, y: 1.0 },
|
|
||||||
visible: isVisible,
|
visible: isVisible,
|
||||||
emissive: true,
|
emissive: true,
|
||||||
ignoreRayIntersection: false,
|
ignoreRayIntersection: false,
|
||||||
|
|
Loading…
Reference in a new issue