diff --git a/app/components/Form.tsx b/app/components/Form.tsx index ac354df..f1fd145 100644 --- a/app/components/Form.tsx +++ b/app/components/Form.tsx @@ -259,9 +259,9 @@ export function Form() {
{sceneView?.model.children.map((child) => { const key = `toggle-visibility-${child.name}`; - //const color = `#${( - // (child as Mesh).material as MeshStandardMaterial - //).color.getHexString()}`; + const color = `#${( + (child as Mesh).material as MeshStandardMaterial + ).color.getHexString()}`; const visible = (child as Mesh).visible; return ( @@ -272,7 +272,7 @@ export function Form() {