auto-git:

[change] src/viewport-three/viewport-host.ts
This commit is contained in:
2026-04-22 14:55:53 +02:00
parent dcbbc172b9
commit 239cd06a5a

View File

@@ -1580,6 +1580,7 @@ export class ViewportHost {
this.sunLight.target.position.set(0, 0, 0);
this.moonLight.visible = false;
this.moonLight.intensity = 0;
this.moonLight.target.position.set(0, 0, 0);
if (displayedMoonLight !== null) {
this.moonLight.color.set(displayedMoonLight.colorHex);
@@ -1692,14 +1693,6 @@ export class ViewportHost {
advancedRendering.enabled &&
advancedRendering.shadows.enabled &&
this.displayMode === "normal";
const shadowSettings =
this.displayMode === "normal"
? advancedRendering
: {
...advancedRendering,
enabled: false
};
for (const renderObjects of this.brushRenderObjects.values()) {
applyAdvancedRenderingRenderableShadowFlags(
renderObjects.mesh,