You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
782 B
23 lines
782 B
import { UITabbedPanel } from './libs/ui.js';
|
|
|
|
import { SidebarObject } from './Sidebar.Object.js';
|
|
import { SidebarGeometry } from './Sidebar.Geometry.js';
|
|
import { SidebarMaterial } from './Sidebar.Material.js';
|
|
|
|
function SidebarProperties( editor ) {
|
|
|
|
const strings = editor.strings;
|
|
|
|
const container = new UITabbedPanel();
|
|
container.setId( 'properties' );
|
|
|
|
container.addTab( 'object', strings.getKey( 'sidebar/properties/object' ), new SidebarObject( editor ) );
|
|
container.addTab( 'geometry', strings.getKey( 'sidebar/properties/geometry' ), new SidebarGeometry( editor ) );
|
|
container.addTab( 'material', strings.getKey( 'sidebar/properties/material' ), new SidebarMaterial( editor ) );
|
|
container.select( 'object' );
|
|
|
|
return container;
|
|
|
|
}
|
|
|
|
export { SidebarProperties };
|
|
|