Skip to content

Commit 5b728b6

Browse files
committed
Editor: Forgot to clear the scene.
1 parent 79015a9 commit 5b728b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

editor/index.html

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

266266
var json = JSON.parse( text );
267+
268+
editor.clear();
267269
editor.fromJSON( json );
268270

269271
} );

0 commit comments

Comments
 (0)