History

add killing of local voxels to domain change

Stephen Birarda committed 13 years ago

Commit eebd3811 parent 53e24861 file · +3 −0Browse files

Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Application.cpp+3−0
@@ -3525,6 +3525,9 @@ void Application::domainChanged(QString domain) { · 3524 unmodified lines
35253525 // update the user's last domain in their Profile (which will propagate to data-server)
35263526 _profile.updateDomain(domain);
35273527
3528+ // kill the local voxels
3529+ _voxels.killLocalVoxels();
3530+
35283531 // reset the environment so that we don't erroneously end up with multiple
35293532 _environment.resetToDefault();
35303533 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t