🚀 Auto-deploy: BrainWind atualizado em 28/07/2026 11:20:52

This commit is contained in:
2026-07-28 11:20:52 +00:00
parent e0fe702ea5
commit a77bd61dfd
+4 -3
View File
@@ -183,7 +183,7 @@ export function WarehouseModel() {
return (
<group>
{/* === PAREDES === */}
{showMainWalls && viewMode === 'solid' && (
{showMainWalls && (
<group>
{/* Lateral Esquerda (X = -width/2, Parede C) */}
<group position={[-width / 2, height / 2, 0]}>
@@ -634,7 +634,7 @@ export function WarehouseModel() {
{(viewMode as string) === 'airflow' && <AirflowSystem windAngle={windAngle} width={width} length={length} height={height} permeabilityCase={permeabilityCase} />}
{/* === RÓTULOS 3D === */}
{showMainWalls && (
{showMainWalls && viewMode === 'solid' && (
<group>
{/* Rótulo Parede Frontal */}
<Text
@@ -703,7 +703,7 @@ export function WarehouseModel() {
export default function Warehouse3DViewer() {
const theme = useCanvasTheme();
const isDark = theme === 'dark';
const { width, length, height, roofPitch, wallCpe, roofCpe } = useGalpaoStore();
const { width, length, height, roofPitch, wallCpe, roofCpe, viewMode } = useGalpaoStore();
const { windAngle, cpi } = useWindStore();
const fallback = (
@@ -717,6 +717,7 @@ export default function Warehouse3DViewer() {
return (
<SceneCanvas moduleId="galpao"
frameloop={viewMode === 'airflow' ? 'always' : 'demand'}
shadows
gl={{ preserveDrawingBuffer: true, antialias: true }}
camera={{ position: [width * 1.3, height * 1.5, length * 1.3], fov: 40 }}