ソースを参照

Editor: Forgot to clear the scene.

Mr.doob 10 年 前
コミット
3f56527040
1 ファイル変更2 行追加0 行削除
  1. 2 0
      editor/index.html

+ 2 - 0
editor/index.html

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