From 335ae4493f5fcdfc0d6a674830088bf73d77d563 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Sun, 21 Apr 2024 17:16:25 -0500 Subject: [PATCH] fix: render normal armor --- .../tankopedia/[id]/components/Model/TankSandbox.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/app/tools/tankopedia/[id]/components/Model/TankSandbox.tsx b/src/app/tools/tankopedia/[id]/components/Model/TankSandbox.tsx index c2aec4105..8b135a6b2 100644 --- a/src/app/tools/tankopedia/[id]/components/Model/TankSandbox.tsx +++ b/src/app/tools/tankopedia/[id]/components/Model/TankSandbox.tsx @@ -4,9 +4,8 @@ import { PerspectiveCamera } from '@react-three/drei'; import { Canvas } from '@react-three/fiber'; import { Suspense, use, useEffect, useRef, useState } from 'react'; import { isMobile } from 'react-device-detect'; -import { Scene } from 'three'; +import { Armor } from '../../../../../../components/Armor'; import { ShotDisplay } from '../../../../../../components/Armor/components/ShotDisplay'; -import { SpacedArmorScene } from '../../../../../../components/Armor/components/SpacedArmorScene'; import { applyPitchYawLimits } from '../../../../../../core/blitz/applyPitchYawLimits'; import { modelDefinitions } from '../../../../../../core/blitzkrieg/modelDefinitions'; import { modelTransformEvent } from '../../../../../../core/blitzkrieg/modelTransform'; @@ -29,6 +28,7 @@ import { RotationInputs } from '../QuickInputs'; import { SceneProps } from '../SceneProps'; import { ModelLoader } from './components/ModelLoader'; import { Options } from './components/Options'; +import { TankModel } from './components/TankModel'; export function TankSandbox() { const canvas = useRef(null); @@ -220,9 +220,8 @@ export function TankSandbox() { }> - {/* */} - {/* */} - + +