Model library: remembered GLBs with one-click switching
Every loaded model (GLB or converted FBX) is added to 'I miei modelli' in the Animazioni 3D tab: click a name to switch the dancer instantly (active one highlighted), x removes it from the list (file untouched). Persisted in localStorage; the current model is seeded on first run. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
06ae7bc422
commit
a8da0a4c9d
3 files changed
+80
-1
No files matched your search
@@ -850,3 +850,30 @@ kbd {
|
||||
accent-color: #4caf50;
|
||||
}
|
||||
#glb-anims .hint-mini { grid-column: 1 / -1; }
|
||||
|
||||
/* Model library: remembered GLBs for one-click switching */
|
||||
.glb-models { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; }
|
||||
.glb-model {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 5px 8px;
|
||||
border: 1px solid #444;
|
||||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
font-size: 11.5px;
|
||||
opacity: 0.8;
|
||||
}
|
||||
.glb-model.on { border-color: #7aa2ff; background: rgba(110,150,255,0.14); opacity: 1; }
|
||||
.glb-model .gm-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.glb-model .gm-del {
|
||||
flex: 0 0 auto;
|
||||
width: auto;
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: #ff8a8a;
|
||||
padding: 0 2px;
|
||||
font-size: 11px;
|
||||
opacity: 0.7;
|
||||
}
|
||||
.glb-models .hint-mini { grid-column: 1 / -1; }
|
||||
Reference in new issue
Block a user