Skip to content

Commit

Permalink
Editor: Forgot to clear the scene.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Jan 16, 2015
1 parent 1842993 commit 3f56527
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions editor/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,8 @@
loader.load( hash.substr( 5 ), function ( text ) {

var json = JSON.parse( text );

editor.clear();
editor.fromJSON( json );

} );
Expand Down

0 comments on commit 3f56527

Please sign in to comment.