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
37523752 _voxelServerJurisdictions.clear();
37533753 _octreeServerSceneStats.clear();
37543754 _particleServerJurisdictions.clear();
3755+
3756+ // reset the particle renderer
3757+ _particles.clear();
37553758
37563759 // reset our persist thread
37573760 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