mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-08 22:08:20 +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();
|
updateWindowTitle();
|
||||||
clearDomainOctreeDetails();
|
clearDomainOctreeDetails();
|
||||||
_domainConnectionRefusals.clear();
|
_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) {
|
void Application::handleDomainConnectionDeniedPacket(QSharedPointer<ReceivedMessage> message) {
|
||||||
|
|
Loading…
Reference in a new issue