mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 01:56:54 +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)
|
// update the user's last domain in their Profile (which will propagate to data-server)
|
||||||
_profile.updateDomain(domain);
|
_profile.updateDomain(domain);
|
||||||
|
|
||||||
|
// kill the local voxels
|
||||||
|
_voxels.killLocalVoxels();
|
||||||
|
|
||||||
// reset the environment so that we don't erroneously end up with multiple
|
// reset the environment so that we don't erroneously end up with multiple
|
||||||
_environment.resetToDefault();
|
_environment.resetToDefault();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue