History

Merge pull request #13415 from ctrlaltdavid/21896

Zero avatar velocity if protocol version mismatch so that overlays show

Seth Alves committed 8 years ago

Commit d9f8cd42 parents a03a569 0e1e44a1 file · +1 −0Browse files

Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Application.cpp+1−0
@@ -2294,6 +2294,7 @@ void Application::domainConnectionRefused(const QString& reasonMessage, int reas · 2293 unmodified lines
22942294 QString message = "Unable to connect to the location you are visiting.\n";
22952295 message += reasonMessage;
22962296 OffscreenUi::asyncWarning("", message);
2297+ getMyAvatar()->setWorldVelocity(glm::vec3(0.0f));
22972298 break;
22982299 }
22992300 default: