Browse Source

Editor: Some more outliner tweaks.

Mr.doob 13 years ago
parent
commit
9f680519c3
2 changed files with 2 additions and 5 deletions
  1. 0 3
      editor/js/ui/Sidebar.Outliner.js
  2. 2 2
      editor/js/ui/Viewport.js

+ 0 - 3
editor/js/ui/Sidebar.Outliner.js

@@ -20,12 +20,9 @@ Sidebar.Outliner = function ( signals ) {
 	container.add( new UI.Button( 'absolute' ).setRight( '8px' ).setTop( '5px' ).setLabel( 'Export' ).onClick( exportScene ) );
 	container.add( new UI.Button( 'absolute' ).setRight( '8px' ).setTop( '5px' ).setLabel( 'Export' ).onClick( exportScene ) );
 	container.add( new UI.Break(), new UI.Break() );
 	container.add( new UI.Break(), new UI.Break() );
 
 
-	//var sceneGraph = new UI.Select().setMultiple( true ).setWidth( '100%' ).setHeight('140px').setColor( '#444' ).setFontSize( '12px' ).onChange( update );
 	var sceneGraph = new UI.FancySelect().setWidth( '100%' ).setHeight('140px').setColor( '#444' ).setFontSize( '12px' ).onChange( update );
 	var sceneGraph = new UI.FancySelect().setWidth( '100%' ).setHeight('140px').setColor( '#444' ).setFontSize( '12px' ).onChange( update );
 	container.add( sceneGraph );
 	container.add( sceneGraph );
 
 
-	container.add( new UI.Break() );
-
 	var scene = null;
 	var scene = null;
 
 
 	function update() {
 	function update() {

+ 2 - 2
editor/js/ui/Viewport.js

@@ -65,10 +65,10 @@ var Viewport = function ( signals ) {
 	camera.name = "Camera";
 	camera.name = "Camera";
 
 
 	light1.name = "Light 1";
 	light1.name = "Light 1";
-	light1.target.name = "Target for light 1";
+	light1.target.name = "Light 1 Target";
 
 
 	light2.name = "Light 2";
 	light2.name = "Light 2";
-	light2.target.name = "Target for light 2";
+	light2.target.name = "Light 1 Target";
 	signals.sceneChanged.dispatch( scene );
 	signals.sceneChanged.dispatch( scene );
 
 
 	// object picking
 	// object picking