diff --git a/app/web/src/components/IdeViewer/IdeViewer.tsx b/app/web/src/components/IdeViewer/IdeViewer.tsx
index 38faa9a..b17f1f0 100644
--- a/app/web/src/components/IdeViewer/IdeViewer.tsx
+++ b/app/web/src/components/IdeViewer/IdeViewer.tsx
@@ -25,7 +25,9 @@ function Asset({ geometry: incomingGeo }) {
const mesh = useEdgeSplit((thresholdAngle * Math.PI) / 180, true, incomingGeo)
const edges = React.useMemo(
() =>
- incomingGeo.length ? null : new THREE.EdgesGeometry(incomingGeo, thresholdAngle),
+ incomingGeo.length
+ ? null
+ : new THREE.EdgesGeometry(incomingGeo, thresholdAngle),
[incomingGeo]
)
if (!incomingGeo) return null
@@ -211,11 +213,20 @@ const IdeViewer = ({ Loading }) => {
})
}}
/>
-
+
+
+
-
-
-
+
+
()
const original = React.useRef()
const modifier = React.useRef()
@@ -19,7 +23,11 @@ export function useEdgeSplit(cutOffAngle: number, tryKeepNormals: boolean = true
React.useEffect(() => {
if (original.current && ref.current && modifier.current) {
- const modifiedGeometry = modifier.current.modify(original.current, cutOffAngle, tryKeepNormals)
+ const modifiedGeometry = modifier.current.modify(
+ original.current,
+ cutOffAngle,
+ tryKeepNormals
+ )
modifiedGeometry.computeVertexNormals()
ref.current.geometry = modifiedGeometry