Zero avatar velocity if protocol version mismatch so that overlays show

This commit is contained in:
David Rowe 2018-06-19 20:44:53 +12:00
parent ad00e1bdca
commit 0e1e44a3f5

View file

@ -2289,6 +2289,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: