Browse Source

Editor: Forgot to clear the scene.

Mr.doob 10 years ago
parent
commit
5b728b67b2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      editor/index.html

+ 2 - 0
editor/index.html

@@ -264,6 +264,8 @@
 					loader.load( hash.substr( 5 ), function ( text ) {
 
 						var json = JSON.parse( text );
+
+						editor.clear();
 						editor.fromJSON( json );
 
 					} );