changeset 10:549ba7ada071

make the viewer use the /instances/.../stl route
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 20 Jul 2023 12:34:32 +0200
parents 8b265e711351
children 165447afdcde
files Sources/viewer.js
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Sources/viewer.js	Tue Jul 18 17:05:23 2023 +0200
+++ b/Sources/viewer.js	Thu Jul 20 12:34:32 2023 +0200
@@ -65,7 +65,8 @@
   
 const loader = new STLLoader()
 loader.load(
-  '../../instances/' + instanceId + '/content/0042-0011',
+  //'../../instances/' + instanceId + '/content/0042-0011',
+  '../../instances/' + instanceId + '/stl',
   function (geometry) {
     const frustumSize = 200;