Skip to content

Commit 3f56527

Browse files
committed
Editor: Forgot to clear the scene.
1 parent 1842993 commit 3f56527

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

editor/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,8 @@
250250
loader.load( hash.substr( 5 ), function ( text ) {
251251

252252
var json = JSON.parse( text );
253+
254+
editor.clear();
253255
editor.fromJSON( json );
254256

255257
} );

0 commit comments

Comments
 (0)