History

clear particles when switching domains

ZappoMan committed 12 years ago

Commit f02bc951 parent dbde1a213 files · +25 −11Browse files

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

Unified · Split

interface/src/Application.cpp+3−0
@@ -3752,6 +3752,9 @@ void Application::domainChanged(const QString& domainHostname) { · 3751 unmodified lines
3752 _voxelServerJurisdictions.clear();3752 _voxelServerJurisdictions.clear();
3753 _octreeServerSceneStats.clear();3753 _octreeServerSceneStats.clear();
3754 _particleServerJurisdictions.clear();3754 _particleServerJurisdictions.clear();
3755
3756 // reset the particle renderer
3757 _particles.clear();
3755 3758
3756 // reset our persist thread3759 // reset our persist thread
3757 qDebug() << "Domain changed to" << domainHostname << ". Swapping persist cache.";3760 qDebug() << "Domain changed to" << domainHostname << ". Swapping persist cache.";

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