From 64c69901c01ea8b7ca0f7a0b54d3d950d72a9331 Mon Sep 17 00:00:00 2001 From: "Mr.doob" Date: Sat, 19 Jun 2021 17:51:29 +0200 Subject: [PATCH] Editor: Simplified fog handling --- editor/js/Editor.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/editor/js/Editor.js b/editor/js/Editor.js index c892be6fdf..df76708681 100644 --- a/editor/js/Editor.js +++ b/editor/js/Editor.js @@ -132,8 +132,7 @@ Editor.prototype = { this.scene.name = scene.name; this.scene.background = scene.background; - - if ( scene.fog !== null ) this.scene.fog = scene.fog.clone(); + this.scene.fog = scene.fog; this.scene.userData = JSON.parse( JSON.stringify( scene.userData ) ); -- GitLab