From a0e6277d319f648acb97645e0a3c733b6e1a9643 Mon Sep 17 00:00:00 2001 From: lihqi <455711093@qq.com> Date: Fri, 20 Dec 2024 10:53:10 +0800 Subject: [PATCH] fix(lb-components): Add view type to 3DView and topView --- .../src/components/pointCloudView/PointCloud3DView.tsx | 1 + .../src/components/pointCloudView/PointCloudTopView.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/lb-components/src/components/pointCloudView/PointCloud3DView.tsx b/packages/lb-components/src/components/pointCloudView/PointCloud3DView.tsx index 87ace611..532e81ac 100644 --- a/packages/lb-components/src/components/pointCloudView/PointCloud3DView.tsx +++ b/packages/lb-components/src/components/pointCloudView/PointCloud3DView.tsx @@ -203,6 +203,7 @@ const PointCloud3D: React.FC = ({ orthographicParams: PointCloudUtils.getDefaultOrthographicParams(size), config, hiddenText, + view: '3DView', }); pointCloud.setHandlerPipe({ setSelectedIDs: ptCtx.setSelectedIDs, setNeedUpdateCenter }); ptCtx.setMainViewInstance(pointCloud); diff --git a/packages/lb-components/src/components/pointCloudView/PointCloudTopView.tsx b/packages/lb-components/src/components/pointCloudView/PointCloudTopView.tsx index 4c0b6958..1caae9f1 100644 --- a/packages/lb-components/src/components/pointCloudView/PointCloudTopView.tsx +++ b/packages/lb-components/src/components/pointCloudView/PointCloudTopView.tsx @@ -238,6 +238,7 @@ const PointCloudTopView: React.FC = ({ checkMode, toolName: ToolUtils.getPointCloudToolList() as THybridToolName, proxyMode: checkMode, + view: 'topView', }); ptCtx.setTopViewInstance(pointCloudAnnotation); }