mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 01:03:57 +02:00
Merge pull request #2444 from ZappoMan/domainchangebug
kill local voxels on domain change
This commit is contained in:
commit
89ba7f00f0
1 changed files with 3 additions and 0 deletions
|
@ -3252,6 +3252,9 @@ void Application::domainChanged(const QString& domainHostname) {
|
|||
|
||||
// reset the particle renderer
|
||||
_particles.clear();
|
||||
|
||||
// reset the voxels renderer
|
||||
_voxels.killLocalVoxels();
|
||||
}
|
||||
|
||||
void Application::connectedToDomain(const QString& hostname) {
|
||||
|
|
Loading…
Reference in a new issue