Theater at top level in menu

This commit is contained in:
2026-04-08 10:59:58 +02:00
parent c6e0314769
commit 556086117b
4 changed files with 117 additions and 120 deletions

View File

@@ -77,7 +77,7 @@ function loadNodes(nodes) {
node.setRotation(0, 1.5, 0);
// Apply any transparency before attaching to scene
if (n.opacity) {
if (n.opacity !== undefined && n.opacity !== null) {
node.setMaterial(new THREE.MeshPhongMaterial({
transparent: true,
opacity: n.opacity,