Skip to content

Commit

Permalink
Editor: Simplified fog handling
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Jun 19, 2021
1 parent 8d30d74 commit 64c6990
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions editor/js/Editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) );

Expand Down

0 comments on commit 64c6990

Please sign in to comment.