From 23ed390faf5ace9bb71916a82a2e7a3e3586028a Mon Sep 17 00:00:00 2001 From: gaozheng Date: Wed, 17 Jun 2026 11:05:16 +0800 Subject: [PATCH] =?UTF-8?q?fix(vtk):=20=E5=BA=95=E5=9B=BE=E7=93=A6?= =?UTF-8?q?=E7=89=87SetUseBounds(false)-=E4=B8=8D=E5=8F=82=E4=B8=8E?= =?UTF-8?q?=E5=8C=85=E5=9B=B4=E7=9B=92/=E7=9B=B8=E6=9C=BA=E5=8F=96?= =?UTF-8?q?=E6=99=AF,=E4=BF=AE=E5=A4=8D=E5=8B=BE=E7=AC=AC=E4=BA=8C?= =?UTF-8?q?=E4=B8=AAds=E5=90=8E=E5=9D=90=E6=A0=87=E8=BD=B4=E8=A2=AB?= =?UTF-8?q?=E5=BA=95=E5=9B=BE=E6=92=91=E5=88=B0=E5=85=AC=E9=87=8C=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/TileBasemap.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/TileBasemap.cpp b/src/app/TileBasemap.cpp index caa337c..8a12977 100644 --- a/src/app/TileBasemap.cpp +++ b/src/app/TileBasemap.cpp @@ -292,6 +292,7 @@ vtkSmartPointer TileBasemap::buildFlat(int z, int x, int y, actor->SetMapper(mapper); actor->SetTexture(tex); actor->GetProperty()->LightingOff(); // 底图不受场景光照 + actor->SetUseBounds(false); // 底图不参与包围盒/相机取景:否则坐标轴/适配被~公里级底图撑大 return actor; } @@ -417,6 +418,7 @@ vtkSmartPointer TileBasemap::buildWarped(int sz, int sx, int sy, int d actor->SetMapper(mapper); actor->SetTexture(tex); actor->GetProperty()->LightingOff(); + actor->SetUseBounds(false); // 同 buildFlat:底图不参与包围盒/相机取景 return actor; }