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
2294 QString message = "Unable to connect to the location you are visiting.\n";2294 QString message = "Unable to connect to the location you are visiting.\n";
2295 message += reasonMessage;2295 message += reasonMessage;
2296 OffscreenUi::asyncWarning("", message);2296 OffscreenUi::asyncWarning("", message);
2297 getMyAvatar()->setWorldVelocity(glm::vec3(0.0f));
2297 break;2298 break;
2298 }2299 }
2299 default:2300 default: