From d71e1155c91ceb8afdaf0d34a372e6bf5c862744 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期二, 30 四月 2024 12:09:04 +0800
Subject: [PATCH] #

---
 /dev/null                   |    0 
 public/models/shelf/row.fbx |    0 
 src/core/warehouse.jsx      |    2 +-
 src/components/shelf.jsx    |    4 ++--
 4 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/public/models/shelf/row.fbx b/public/models/shelf/row.fbx
index 62097c0..7bcc984 100644
--- a/public/models/shelf/row.fbx
+++ b/public/models/shelf/row.fbx
Binary files differ
diff --git a/public/models/shelf/row.glb b/public/models/shelf/row.glb
deleted file mode 100644
index d37165a..0000000
--- a/public/models/shelf/row.glb
+++ /dev/null
Binary files differ
diff --git a/public/models/shelf/row1.fbx b/public/models/shelf/row1.fbx
deleted file mode 100644
index 8a40fd0..0000000
--- a/public/models/shelf/row1.fbx
+++ /dev/null
Binary files differ
diff --git a/public/models/shelf/row2.fbx b/public/models/shelf/row2.fbx
deleted file mode 100644
index 5274850..0000000
--- a/public/models/shelf/row2.fbx
+++ /dev/null
Binary files differ
diff --git a/src/components/shelf.jsx b/src/components/shelf.jsx
index 67f246b..30404d2 100644
--- a/src/components/shelf.jsx
+++ b/src/components/shelf.jsx
@@ -17,7 +17,7 @@
     }, [])
 
     const model = useMemo(() => {
-        const fbx = useFBX('/models/shelf/row2.fbx');
+        const fbx = useFBX('/models/shelf/row.fbx');
         if (!fbx.castShadow) {
             Common.setShadow(fbx);
         }
@@ -42,7 +42,7 @@
                     scale={50000}
                 /> */}
 
-                <primitive object={model} castShadow position={[0, 25, 0]} />
+                <primitive object={model} castShadow position={[0, 0, 0]} />
                 {/* <mesh position={[0, 100, 0]}>
                     <boxGeometry args={[150, 200, 30]} />
                     <meshStandardMaterial color={'orange'} transparent={true} opacity={.5} />
diff --git a/src/core/warehouse.jsx b/src/core/warehouse.jsx
index 3989ebf..fbf376f 100644
--- a/src/core/warehouse.jsx
+++ b/src/core/warehouse.jsx
@@ -82,7 +82,7 @@
                 {areaEl}
                 {shelfEl}
                 {/* {shelfEl1} */}
-                {agvEl}
+                {/* {agvEl} */}
                 {boxEl}
             </group>
         </>

--
Gitblit v1.9.1