Merge pull request #13415 from ctrlaltdavid/21896

Zero avatar velocity if protocol version mismatch so that overlays show
This commit is contained in:
Seth Alves 2018-06-27 09:35:15 -07:00 committed by GitHub
commit d9f8cd46ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2294,6 +2294,7 @@ void Application::domainConnectionRefused(const QString& reasonMessage, int reas
QString message = "Unable to connect to the location you are visiting.\n";
message += reasonMessage;
OffscreenUi::asyncWarning("", message);
getMyAvatar()->setWorldVelocity(glm::vec3(0.0f));
break;
}
default: