fix: Update model version and adjust kitchen color in configuration files
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
This commit is contained in:
+1
-1
@@ -324,7 +324,7 @@
|
||||
|
||||
|
||||
|
||||
<script type="module" src="./js/bootstrap.js?v=20261022"></script>
|
||||
<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">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"version": "locenice-web-01",
|
||||
"model": "./models/dum.glb",
|
||||
"model": "./models/dum.glb?v=20261022b",
|
||||
"renderer": "auto",
|
||||
"threeModule": "https://cdn.jsdelivr.net/npm/three@0.180.0/build/three.module.js",
|
||||
"threeLoader": "https://cdn.jsdelivr.net/npm/three@0.180.0/examples/jsm/loaders/GLTFLoader.js",
|
||||
|
||||
@@ -319,9 +319,9 @@
|
||||
],
|
||||
"kitchenColor": [
|
||||
[
|
||||
"#35463e",
|
||||
"#4e5952",
|
||||
"Zelená",
|
||||
"#35463e"
|
||||
"#4e5952"
|
||||
],
|
||||
[
|
||||
"#eeeae1",
|
||||
@@ -424,9 +424,9 @@
|
||||
],
|
||||
"kitchenBodyColor": [
|
||||
[
|
||||
"#35463e",
|
||||
"#4e5952",
|
||||
"Zelená",
|
||||
"#35463e"
|
||||
"#4e5952"
|
||||
],
|
||||
[
|
||||
"#eeeae1",
|
||||
@@ -512,8 +512,8 @@
|
||||
"intDoorCode": "",
|
||||
"intDoorType": "hinged",
|
||||
"intHandle": "square",
|
||||
"kitchenColor": "#35463e",
|
||||
"kitchenBodyColor": "#35463e",
|
||||
"kitchenColor": "#4e5952",
|
||||
"kitchenBodyColor": "#4e5952",
|
||||
"worktop": "oak",
|
||||
"backsplash": "stone",
|
||||
"shower": "tray",
|
||||
|
||||
@@ -797,6 +797,8 @@ let backend=null,projectPanel=null;
|
||||
for(const r of STD_ROOMS){if(v[r[0]]===undefined)continue;const f=v[r[0]];if(!f||!['lam','tile'].includes(f.type)||!Number.isInteger(f.sample)||f.sample<1||f.sample>9)throw Error('Neplatn\u00e1 podlaha m\u00edstnosti '+r[0]);d.floors[r[0]]={type:f.type,sample:f.sample};}
|
||||
} else if(['wallPaint','kitchenColor','kitchenBodyColor','intDoorColor'].includes(k)){
|
||||
if(typeof v!=='string'||!/^#[0-9a-f]{6}$/i.test(v))throw Error('Neplatn\u00e1 barva: '+k);d[k]=v.toLowerCase();
|
||||
// The kitchen green was re-tinted; selections saved with the previous shade follow it.
|
||||
if(k.startsWith('kitchen')&&d[k]==='#35463e')d[k]='#4e5952';
|
||||
} else if(STD_OPTIONS[k]){if(!STD_OPTIONS[k].some(o=>o[0]===v))throw Error('Nezn\u00e1m\u00e1 varianta: '+k);d[k]=v;
|
||||
} else if(enums[k]){if(!enums[k].includes(v))throw Error('Nezn\u00e1m\u00e1 varianta: '+k);d[k]=v;
|
||||
} else if(typeof d[k]==='boolean'){if(typeof v!=='boolean')throw Error('Neplatn\u00fd p\u0159ep\u00edna\u010d: '+k);d[k]=v;
|
||||
|
||||
Vendored
+1
-1
@@ -16,7 +16,7 @@ try{
|
||||
document.getElementById('stdSavedState').textContent=JSON.stringify({selection:payload.selection});
|
||||
}catch(error){console.warn('Invalid shared selection:',error);}
|
||||
window.LOCENICE_RESOURCES={config,catalog,assets,references,scene,site,modelBytes};
|
||||
await import('./app.js?v=20261022');
|
||||
await import('./app.js?v=20261022b');
|
||||
}catch(error){
|
||||
console.error(error);const box=document.getElementById('loading');box.className='error';box.innerHTML='<div class="errorDetail"></div><p>Nahrajte celou slozku vcetne js, css, data, models a assets. Otevrete ji pres HTTP(S), nikoli dvojklikem na HTML.</p><a href="./models/dum.glb" download>Stahnout model GLB</a>';
|
||||
box.querySelector('.errorDetail').textContent=error.message;document.getElementById('webStatus').textContent='Chyba nacitani';
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user