mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 01:56:54 +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
|
// reset the particle renderer
|
||||||
_particles.clear();
|
_particles.clear();
|
||||||
|
|
||||||
|
// reset the voxels renderer
|
||||||
|
_voxels.killLocalVoxels();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Application::connectedToDomain(const QString& hostname) {
|
void Application::connectedToDomain(const QString& hostname) {
|
||||||
|
|
Loading…
Reference in a new issue