Remove height provider from geo-three
This commit is contained in:
parent
233216c284
commit
b544c315b0
5 changed files with 152 additions and 11 deletions
|
@ -259,9 +259,9 @@ export function Form() {
|
|||
<div className="flex flex-col gap-2">
|
||||
{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() {
|
|||
<span
|
||||
className="inline-block w-5 h-5 flex-none rounded"
|
||||
style={{
|
||||
backgroundColor: color,
|
||||
backgroundColor: "white",
|
||||
}}
|
||||
></span>
|
||||
<input
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue