|
@@ -74,34 +74,6 @@ Sidebar.Settings = function ( editor ) {
|
|
|
|
|
|
container.add( themeRow );
|
|
|
|
|
|
- // scene camera position
|
|
|
-
|
|
|
- var sceneCameraRow = new UI.Row();
|
|
|
- container.add( sceneCameraRow );
|
|
|
-
|
|
|
- var sceneCameraSelection = new UI.Select().setWidth( '150px' );
|
|
|
- sceneCameraSelection.setOptions( {
|
|
|
- topLeft: 'Top Left',
|
|
|
- bottomLeft: 'Bottom Left',
|
|
|
- topRight: 'Top Right',
|
|
|
- bottomRight: 'Bottom Right'
|
|
|
- } );
|
|
|
-
|
|
|
- if ( config.getKey( 'project/renderer/sceneCameras' ) !== undefined ) {
|
|
|
-
|
|
|
- sceneCameraSelection.setValue( config.getKey( 'project/renderer/sceneCameras' ) );
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- sceneCameraSelection.onChange( function () {
|
|
|
-
|
|
|
- config.setKey( 'project/renderer/sceneCameras', this.getValue() );
|
|
|
- signals.sceneCamerasChanged.dispatch();
|
|
|
-
|
|
|
- } );
|
|
|
-
|
|
|
- sceneCameraRow.add( new UI.Text( strings.getKey( 'sidebar/settings/sceneCameras' ) ).setWidth( '90px' ), sceneCameraSelection );
|
|
|
-
|
|
|
// scene camera visible
|
|
|
|
|
|
var sceneShowCameraRow = new UI.Row();
|