From f5d6902cfb917c54199c2eed5556a0d2744c10b6 Mon Sep 17 00:00:00 2001 From: laoluo Date: Tue, 21 Feb 2023 15:38:35 +0800 Subject: [PATCH] fix(pointcloud): Need to highlight pointCloud after initData --- .../src/components/pointCloudView/hooks/usePointCloudViews.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/lb-components/src/components/pointCloudView/hooks/usePointCloudViews.ts b/packages/lb-components/src/components/pointCloudView/hooks/usePointCloudViews.ts index 43d61146f..3d920f7e3 100644 --- a/packages/lb-components/src/components/pointCloudView/hooks/usePointCloudViews.ts +++ b/packages/lb-components/src/components/pointCloudView/hooks/usePointCloudViews.ts @@ -691,6 +691,7 @@ export const usePointCloudViews = () => { mainViewInstance?.generateBox(v); }); + ptCtx.syncAllViewPointCloudColor(boxParamsList); ptCtx.setPointCloudResult(boxParamsList); ptCtx.setPolygonList(polygonList); } else {