Theater at top level in menu
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user