bug fix wallAsset
This commit is contained in:
@@ -121,7 +121,7 @@ function Wall({ wall }: { readonly wall: Wall }) {
|
||||
castShadow
|
||||
receiveShadow
|
||||
ref={meshRef}
|
||||
geometry={geometry}
|
||||
geometry={visible ? geometry : new THREE.BoxGeometry(0, 0)}
|
||||
position={[centerX, centerY, centerZ]}
|
||||
rotation={[0, -angle, 0]}
|
||||
userData={wall}
|
||||
|
||||
Reference in New Issue
Block a user