1
1
import { useCallback , useEffect , useState } from "react"
2
2
3
3
import "./App.css"
4
- import { RestartAlt , Settings , SportsFootball , Texture } from "@mui/icons-material"
4
+ import { RestartAlt , Settings , SportsFootball } from "@mui/icons-material"
5
5
import DownloadIcon from "@mui/icons-material/Download"
6
6
import PrecisionManufacturingIcon from "@mui/icons-material/PrecisionManufacturing"
7
7
import SaveIcon from "@mui/icons-material/Save"
@@ -36,7 +36,7 @@ import GamepiecesConfigTab from "./ui/GamepiecesConfigTab.tsx"
36
36
import GeneralConfigTab from "./ui/GeneralConfigTab.tsx"
37
37
import GlobalAlert from "./ui/GlobalAlert.tsx"
38
38
import JointsConfigTab from "./ui/JointsConfigTab.tsx"
39
- import MaterialTaggingTab , { type TaggedBody } from "./ui/MaterialTaggingTab.tsx"
39
+ import type { TaggedBody } from "./ui/MaterialTaggingTab.tsx"
40
40
41
41
function TabPanel ( props : { children ?: React . ReactNode ; value : number ; index : number } ) {
42
42
const { children, value, index, ...other } = props
@@ -179,7 +179,11 @@ function App() {
179
179
return (
180
180
< ThemeProvider theme = { theme } >
181
181
< Backdrop
182
- sx = { theme => ( { color : "#fff" , zIndex : theme . zIndex . drawer + 1 , backdropFilter : "blur(0px)" } ) }
182
+ sx = { theme => ( {
183
+ color : "#fff" ,
184
+ zIndex : theme . zIndex . drawer + 1 ,
185
+ backdropFilter : "blur(0px)" ,
186
+ } ) }
183
187
open = { isSelecting }
184
188
onClick = { ( ) => {
185
189
Global_SetAlert (
@@ -227,7 +231,7 @@ function App() {
227
231
disabled = { generalConfig . exportMode === ExportMode . ROBOT }
228
232
/>
229
233
230
- < Tab icon = { < Texture /> } iconPosition = { "start" } label = "Materials" />
234
+ { /* <Tab icon={<Texture />} iconPosition={"start"} label="Materials" />*/ }
231
235
232
236
{ /*<Tab label="APS" />*/ }
233
237
</ Tabs >
@@ -252,13 +256,13 @@ function App() {
252
256
selection = { { isSelecting, setIsSelecting } }
253
257
/>
254
258
</ TabPanel >
255
- < TabPanel value = { activeTab } index = { 3 } >
256
- < MaterialTaggingTab
257
- tags = { taggedBodies }
258
- updateTags = { updateTaggedBodies }
259
- selection = { { isSelecting, setIsSelecting } }
260
- />
261
- </ TabPanel >
259
+ { /* <TabPanel value={activeTab} index={3}>*/ }
260
+ { /* <MaterialTaggingTab*/ }
261
+ { /* tags={taggedBodies}*/ }
262
+ { /* updateTags={updateTaggedBodies}*/ }
263
+ { /* selection={{ isSelecting, setIsSelecting }}*/ }
264
+ { /* />*/ }
265
+ { /* </TabPanel>*/ }
262
266
< Container
263
267
sx = { {
264
268
position : "sticky" ,
0 commit comments