Преглед изворни кода

Editor: Forgot to clear the scene.

Mr.doob пре 10 година
родитељ
комит
59de65c0e6
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 );
 
 					} );