mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 12:04:18 +02:00
fix node auth url, NAN break on windows
This commit is contained in:
parent
88a75a3585
commit
892e0e7cbf
2 changed files with 3 additions and 3 deletions
|
@ -190,7 +190,7 @@ bool AddressManager::handleRelativeViewpoint(const QString& lookupString) {
|
|||
tripleFloatRegex.cap(2).toFloat(),
|
||||
tripleFloatRegex.cap(3).toFloat());
|
||||
|
||||
if (newPosition.x != NAN && newPosition.y != NAN && newPosition.z != NAN) {
|
||||
if (!isNaN(newPosition.x) && !isNaN(newPosition.y) && !isNaN(newPosition.z)) {
|
||||
glm::vec3 newOrientation;
|
||||
// we may also have an orientation
|
||||
if (lookupString[tripleFloatRegex.matchedLength() - 1] == QChar('/')
|
||||
|
@ -200,7 +200,7 @@ bool AddressManager::handleRelativeViewpoint(const QString& lookupString) {
|
|||
tripleFloatRegex.cap(2).toFloat(),
|
||||
tripleFloatRegex.cap(3).toFloat());
|
||||
|
||||
if (newOrientation.x != NAN && newOrientation.y != NAN && newOrientation.z != NAN) {
|
||||
if (!isNaN(newOrientation.x) && !isNaN(newOrientation.y) && !isNaN(newOrientation.z)) {
|
||||
emit locationChangeRequired(newPosition, true, newOrientation);
|
||||
return true;
|
||||
} else {
|
||||
|
|
|
@ -33,7 +33,7 @@ const char SOLO_NODE_TYPES[2] = {
|
|||
NodeType::AudioMixer
|
||||
};
|
||||
|
||||
const QUrl DEFAULT_NODE_AUTH_URL = QUrl("http://localhost:3000");
|
||||
const QUrl DEFAULT_NODE_AUTH_URL = QUrl("https://data.highfidelity.io");
|
||||
|
||||
LimitedNodeList* LimitedNodeList::_sharedInstance = NULL;
|
||||
|
||||
|
|
Loading…
Reference in a new issue