Skip to content

Commit

Permalink
fix(lb-components): Add view type to 3DView and topView
Browse files Browse the repository at this point in the history
  • Loading branch information
lihqi committed Dec 20, 2024
1 parent 7cd60ef commit a0e6277
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ const PointCloud3D: React.FC<IA2MapStateProps> = ({
orthographicParams: PointCloudUtils.getDefaultOrthographicParams(size),
config,
hiddenText,
view: '3DView',
});
pointCloud.setHandlerPipe({ setSelectedIDs: ptCtx.setSelectedIDs, setNeedUpdateCenter });
ptCtx.setMainViewInstance(pointCloud);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ const PointCloudTopView: React.FC<IProps> = ({
checkMode,
toolName: ToolUtils.getPointCloudToolList() as THybridToolName,
proxyMode: checkMode,
view: 'topView',
});
ptCtx.setTopViewInstance(pointCloudAnnotation);
}
Expand Down

0 comments on commit a0e6277

Please sign in to comment.