mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 03:04:33 +02:00
add killing of local voxels to domain change
This commit is contained in:
parent
53e2486d4d
commit
eebd38189b
1 changed files with 3 additions and 0 deletions
|
@ -3525,6 +3525,9 @@ void Application::domainChanged(QString domain) {
|
|||
// update the user's last domain in their Profile (which will propagate to data-server)
|
||||
_profile.updateDomain(domain);
|
||||
|
||||
// kill the local voxels
|
||||
_voxels.killLocalVoxels();
|
||||
|
||||
// reset the environment so that we don't erroneously end up with multiple
|
||||
_environment.resetToDefault();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue