auto-git:
[change] src/runtime-three/runtime-host.ts
This commit is contained in:
@@ -2778,6 +2778,14 @@ export class RuntimeHost {
|
|||||||
this.localLightObjects.clear();
|
this.localLightObjects.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private clearLightVolumes() {
|
||||||
|
for (const renderObjects of this.lightVolumeObjects.values()) {
|
||||||
|
this.lightVolumeGroup.remove(renderObjects.group);
|
||||||
|
}
|
||||||
|
|
||||||
|
this.lightVolumeObjects.clear();
|
||||||
|
}
|
||||||
|
|
||||||
private clearBrushMeshes() {
|
private clearBrushMeshes() {
|
||||||
for (const mesh of this.brushMeshes.values()) {
|
for (const mesh of this.brushMeshes.values()) {
|
||||||
this.brushGroup.remove(mesh);
|
this.brushGroup.remove(mesh);
|
||||||
|
|||||||
Reference in New Issue
Block a user