From dd5ff9051b589ac61aa971497c8be43763e6f8d1 Mon Sep 17 00:00:00 2001 From: hrntsm Date: Mon, 11 Mar 2024 17:22:36 +0900 Subject: [PATCH] Update 3dm library path --- .../ts/components/Artifact/ThreejsArtifactViewer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/optuna_dashboard/ts/components/Artifact/ThreejsArtifactViewer.tsx b/optuna_dashboard/ts/components/Artifact/ThreejsArtifactViewer.tsx index 7787e8a4..70d2cccf 100644 --- a/optuna_dashboard/ts/components/Artifact/ThreejsArtifactViewer.tsx +++ b/optuna_dashboard/ts/components/Artifact/ThreejsArtifactViewer.tsx @@ -198,7 +198,7 @@ function loadRhino3dm( handleLoadedGeometries: (geometries: THREE.BufferGeometry[]) => THREE.Box3 ) { const rhino3dmLoader = new Rhino3dmLoader() - rhino3dmLoader.setLibraryPath("https://cdn.jsdelivr.net/npm/rhino3dm@7.15.0/") + rhino3dmLoader.setLibraryPath("https://cdn.jsdelivr.net/npm/rhino3dm@8.4.0/") rhino3dmLoader.load(props.src, (object: THREE.Object3D) => { const meshes = object.children as THREE.Mesh[] const rhinoGeometries = meshes.map((mesh) => mesh.geometry)