Zero avatar velocity if protocol version mismatch so that overlays show
Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -2294,6 +2294,7 @@ void Application::domainConnectionRefused(const QString& reasonMessage, int reas · 2293 unmodified lines | ||
| 2294 | 2294 | QString message = "Unable to connect to the location you are visiting.\n"; |
| 2295 | 2295 | message += reasonMessage; |
| 2296 | 2296 | OffscreenUi::asyncWarning("", message); |
| 2297 | + getMyAvatar()->setWorldVelocity(glm::vec3(0.0f)); | |
| 2297 | 2298 | break; |
| 2298 | 2299 | } |
| 2299 | 2300 | default: |