Explorar o código

Editor: Forgot to clear the scene.

Mr.doob %!s(int64=10) %!d(string=hai) anos
pai
achega
59de65c0e6
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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 );
 
 					} );