auto-git:
[change] src/viewport-three/viewport-host.ts
This commit is contained in:
@@ -1580,6 +1580,7 @@ export class ViewportHost {
|
|||||||
this.sunLight.target.position.set(0, 0, 0);
|
this.sunLight.target.position.set(0, 0, 0);
|
||||||
this.moonLight.visible = false;
|
this.moonLight.visible = false;
|
||||||
this.moonLight.intensity = 0;
|
this.moonLight.intensity = 0;
|
||||||
|
this.moonLight.target.position.set(0, 0, 0);
|
||||||
|
|
||||||
if (displayedMoonLight !== null) {
|
if (displayedMoonLight !== null) {
|
||||||
this.moonLight.color.set(displayedMoonLight.colorHex);
|
this.moonLight.color.set(displayedMoonLight.colorHex);
|
||||||
@@ -1692,14 +1693,6 @@ export class ViewportHost {
|
|||||||
advancedRendering.enabled &&
|
advancedRendering.enabled &&
|
||||||
advancedRendering.shadows.enabled &&
|
advancedRendering.shadows.enabled &&
|
||||||
this.displayMode === "normal";
|
this.displayMode === "normal";
|
||||||
const shadowSettings =
|
|
||||||
this.displayMode === "normal"
|
|
||||||
? advancedRendering
|
|
||||||
: {
|
|
||||||
...advancedRendering,
|
|
||||||
enabled: false
|
|
||||||
};
|
|
||||||
|
|
||||||
for (const renderObjects of this.brushRenderObjects.values()) {
|
for (const renderObjects of this.brushRenderObjects.values()) {
|
||||||
applyAdvancedRenderingRenderableShadowFlags(
|
applyAdvancedRenderingRenderableShadowFlags(
|
||||||
renderObjects.mesh,
|
renderObjects.mesh,
|
||||||
|
|||||||
Reference in New Issue
Block a user