mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
disable physics when moving to a new domain
This commit is contained in:
parent
164439b303
commit
c462bda86c
1 changed files with 2 additions and 0 deletions
|
@ -3788,6 +3788,8 @@ void Application::domainChanged(const QString& domainHostname) {
|
|||
updateWindowTitle();
|
||||
clearDomainOctreeDetails();
|
||||
_domainConnectionRefusals.clear();
|
||||
// disable physics until we have enough information about our new location to not cause craziness.
|
||||
_physicsEnabled = false;
|
||||
}
|
||||
|
||||
void Application::handleDomainConnectionDeniedPacket(QSharedPointer<ReceivedMessage> message) {
|
||||
|
|
Loading…
Reference in a new issue