feat: Update model and configuration for improved loading and kitchen color adjustments
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
This commit is contained in:
+5
-1
@@ -324,7 +324,6 @@
|
||||
|
||||
|
||||
|
||||
<script type="module" src="./js/bootstrap.js?v=20261022b"></script>
|
||||
<div id="webStatus" role="status">Načítání modelu…</div>
|
||||
<button id="projectToggle" class="btn" type="button">Projekt a podklady</button>
|
||||
<dialog id="projectDialog" aria-labelledby="projectTitle">
|
||||
@@ -343,6 +342,11 @@
|
||||
</dialog>
|
||||
<svg id="surveyOverlay" aria-label="Body výškopisu" style="display:none"></svg>
|
||||
<noscript><div class="web-fatal">Pro 3D model povolte JavaScript. <a href="./models/dum.glb">Stáhnout GLB</a></div></noscript>
|
||||
<script>
|
||||
// Firefox and Safari accept an import map only before the first module starts loading, so the map
|
||||
// for Three.js is added here and bootstrap.js is requested only afterwards.
|
||||
fetch('./data/app-config.json',{cache:'no-cache'}).then(r=>r.json()).then(c=>{const m=document.createElement('script');m.type='importmap';m.textContent=JSON.stringify({imports:{three:new URL(c.threeModule,location.href).href}});document.head.appendChild(m);}).catch(()=>{}).finally(()=>{const s=document.createElement('script');s.type='module';s.src='./js/bootstrap.js?v=20261022c';document.body.appendChild(s);});
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user