Skip to content

Commit 64c6990

Browse files
committed
Editor: Simplified fog handling
1 parent 8d30d74 commit 64c6990

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

editor/js/Editor.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,7 @@ Editor.prototype = {
132132
this.scene.name = scene.name;
133133

134134
this.scene.background = scene.background;
135-
136-
if ( scene.fog !== null ) this.scene.fog = scene.fog.clone();
135+
this.scene.fog = scene.fog;
137136

138137
this.scene.userData = JSON.parse( JSON.stringify( scene.userData ) );
139138

0 commit comments

Comments
 (0)