Skip to content

Commit e25449c

Browse files
committed
Editor: Import geometry parameter panels dynamically.
1 parent 62b19f0 commit e25449c

19 files changed

+55
-91
lines changed

editor/js/Sidebar.Geometry.BoxGeometry.js renamed to editor/js/Sidebar.Geometry.BoxBufferGeometry.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { UIRow, UIText, UINumber, UIInteger } from './libs/ui.js';
44

55
import { SetGeometryCommand } from './commands/SetGeometryCommand.js';
66

7-
function SidebarGeometryBoxGeometry( editor, object ) {
7+
function GeometryParametersPanel( editor, object ) {
88

99
var strings = editor.strings;
1010

@@ -92,4 +92,4 @@ function SidebarGeometryBoxGeometry( editor, object ) {
9292

9393
}
9494

95-
export { SidebarGeometryBoxGeometry };
95+
export { GeometryParametersPanel };

editor/js/Sidebar.Geometry.CircleGeometry.js renamed to editor/js/Sidebar.Geometry.CircleBufferGeometry.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { UIRow, UIText, UIInteger, UINumber } from './libs/ui.js';
44

55
import { SetGeometryCommand } from './commands/SetGeometryCommand.js';
66

7-
function SidebarGeometryCircleGeometry( editor, object ) {
7+
function GeometryParametersPanel( editor, object ) {
88

99
var strings = editor.strings;
1010

@@ -70,4 +70,4 @@ function SidebarGeometryCircleGeometry( editor, object ) {
7070

7171
}
7272

73-
export { SidebarGeometryCircleGeometry };
73+
export { GeometryParametersPanel };

editor/js/Sidebar.Geometry.CylinderGeometry.js renamed to editor/js/Sidebar.Geometry.CylinderBufferGeometry.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { UIRow, UIText, UIInteger, UICheckbox, UINumber } from './libs/ui.js';
44

55
import { SetGeometryCommand } from './commands/SetGeometryCommand.js';
66

7-
function SidebarGeometryCylinderGeometry( editor, object ) {
7+
function GeometryParametersPanel( editor, object ) {
88

99
var strings = editor.strings;
1010

@@ -92,4 +92,4 @@ function SidebarGeometryCylinderGeometry( editor, object ) {
9292

9393
}
9494

95-
export { SidebarGeometryCylinderGeometry };
95+
export { GeometryParametersPanel };

editor/js/Sidebar.Geometry.DodecahedronGeometry.js renamed to editor/js/Sidebar.Geometry.DodecahedronBufferGeometry.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { UIRow, UIText, UIInteger, UINumber } from './libs/ui.js';
44

55
import { SetGeometryCommand } from './commands/SetGeometryCommand.js';
66

7-
function SidebarGeometryDodecahedronGeometry( editor, object ) {
7+
function GeometryParametersPanel( editor, object ) {
88

99
var strings = editor.strings;
1010

@@ -48,4 +48,4 @@ function SidebarGeometryDodecahedronGeometry( editor, object ) {
4848

4949
}
5050

51-
export { SidebarGeometryDodecahedronGeometry };
51+
export { GeometryParametersPanel };

editor/js/Sidebar.Geometry.ExtrudeGeometry.js renamed to editor/js/Sidebar.Geometry.ExtrudeBufferGeometry.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { UIRow, UIText, UIInteger, UICheckbox, UIButton, UINumber } from './libs
44

55
import { SetGeometryCommand } from './commands/SetGeometryCommand.js';
66

7-
function SidebarGeometryExtrudeGeometry( editor, object ) {
7+
function GeometryParametersPanel( editor, object ) {
88

99
var strings = editor.strings;
1010

@@ -142,4 +142,4 @@ function SidebarGeometryExtrudeGeometry( editor, object ) {
142142

143143
}
144144

145-
export { SidebarGeometryExtrudeGeometry };
145+
export { GeometryParametersPanel };

editor/js/Sidebar.Geometry.IcosahedronGeometry.js renamed to editor/js/Sidebar.Geometry.IcosahedronBufferGeometry.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { UIRow, UIText, UIInteger, UINumber } from './libs/ui.js';
44

55
import { SetGeometryCommand } from './commands/SetGeometryCommand.js';
66

7-
function SidebarGeometryIcosahedronGeometry( editor, object ) {
7+
function GeometryParametersPanel( editor, object ) {
88

99
var strings = editor.strings;
1010

@@ -52,4 +52,4 @@ function SidebarGeometryIcosahedronGeometry( editor, object ) {
5252

5353
}
5454

55-
export { SidebarGeometryIcosahedronGeometry };
55+
export { GeometryParametersPanel };

editor/js/Sidebar.Geometry.LatheGeometry.js renamed to editor/js/Sidebar.Geometry.LatheBufferGeometry.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { UIPoints2 } from './libs/ui.three.js';
55

66
import { SetGeometryCommand } from './commands/SetGeometryCommand.js';
77

8-
function SidebarGeometryLatheGeometry( editor, object ) {
8+
function GeometryParametersPanel( editor, object ) {
99

1010
var strings = editor.strings;
1111

@@ -69,4 +69,4 @@ function SidebarGeometryLatheGeometry( editor, object ) {
6969

7070
}
7171

72-
export { SidebarGeometryLatheGeometry };
72+
export { GeometryParametersPanel };

editor/js/Sidebar.Geometry.OctahedronGeometry.js renamed to editor/js/Sidebar.Geometry.OctahedronBufferGeometry.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { UIRow, UIText, UIInteger, UINumber } from './libs/ui.js';
44

55
import { SetGeometryCommand } from './commands/SetGeometryCommand.js';
66

7-
function SidebarGeometryOctahedronGeometry( editor, object ) {
7+
function GeometryParametersPanel( editor, object ) {
88

99
var strings = editor.strings;
1010

@@ -53,4 +53,4 @@ function SidebarGeometryOctahedronGeometry( editor, object ) {
5353

5454
}
5555

56-
export { SidebarGeometryOctahedronGeometry };
56+
export { GeometryParametersPanel };

editor/js/Sidebar.Geometry.PlaneGeometry.js renamed to editor/js/Sidebar.Geometry.PlaneBufferGeometry.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { UIRow, UIText, UIInteger, UINumber } from './libs/ui.js';
44

55
import { SetGeometryCommand } from './commands/SetGeometryCommand.js';
66

7-
function SidebarGeometryPlaneGeometry( editor, object ) {
7+
function GeometryParametersPanel( editor, object ) {
88

99
var strings = editor.strings;
1010

@@ -71,4 +71,4 @@ function SidebarGeometryPlaneGeometry( editor, object ) {
7171

7272
}
7373

74-
export { SidebarGeometryPlaneGeometry };
74+
export { GeometryParametersPanel };

editor/js/Sidebar.Geometry.RingGeometry.js renamed to editor/js/Sidebar.Geometry.RingBufferGeometry.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { UIRow, UIText, UIInteger, UINumber } from './libs/ui.js';
44

55
import { SetGeometryCommand } from './commands/SetGeometryCommand.js';
66

7-
function SidebarGeometryRingGeometry( editor, object ) {
7+
function GeometryParametersPanel( editor, object ) {
88

99
var strings = editor.strings;
1010

@@ -92,4 +92,4 @@ function SidebarGeometryRingGeometry( editor, object ) {
9292

9393
}
9494

95-
export { SidebarGeometryRingGeometry };
95+
export { GeometryParametersPanel };

0 commit comments

Comments
 (0)