Sfoglia il codice sorgente

Editor: Added camera back to Outliner.

Mr.doob 9 anni fa
parent
commit
6fe37794a5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      editor/js/Sidebar.Scene.js

+ 1 - 1
editor/js/Sidebar.Scene.js

@@ -133,7 +133,7 @@ Sidebar.Scene = function ( editor ) {
 
 		var options = [];
 
-		// options.push( { value: camera.id, html: '<span class="type ' + camera.type + '"></span> ' + camera.name } );
+		options.push( { static: true, value: camera.id, html: '<span class="type ' + camera.type + '"></span> ' + camera.name } );
 		options.push( { static: true, value: scene.id, html: '<span class="type ' + scene.type + '"></span> ' + scene.name } );
 
 		( function addObjects( objects, pad ) {