Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -3525,6 +3525,9 @@ void Application::domainChanged(QString domain) { · 3524 unmodified lines | |||
| 3525 | // update the user's last domain in their Profile (which will propagate to data-server) | 3525 | // update the user's last domain in their Profile (which will propagate to data-server) |
| 3526 | _profile.updateDomain(domain); | 3526 | _profile.updateDomain(domain); |
| 3527 | 3527 | ||
| 3528 | // kill the local voxels | ||
| 3529 | _voxels.killLocalVoxels(); | ||
| 3530 | |||
| 3528 | // reset the environment so that we don't erroneously end up with multiple | 3531 | // reset the environment so that we don't erroneously end up with multiple |
| 3529 | _environment.resetToDefault(); | 3532 | _environment.resetToDefault(); |
| 3530 | } | 3533 | } |