add killing of local voxels to domain change

This commit is contained in:
Stephen Birarda 2013-10-11 10:07:42 -07:00
parent 53e2486d4d
commit eebd38189b

View file

@ -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();
}