Skip to content

Commit

Permalink
feat(pointcloud): Limit pointCloud syncAttribute in checkMode
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerwin-L committed Feb 23, 2023
1 parent abd6de2 commit 1f80161
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion packages/lb-annotation/src/core/pointCloud/annotation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ export class PointCloudAnnotation implements IPointCloudAnnotationOperation {
polygonOperation.eventBinding();
polygonOperation.setPattern(EPolygonPattern.Rect);


canvasScheduler.createCanvas(polygonOperation.canvas, { size });

// 3. Data record
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ const PointCloudListener: React.FC<IProps> = ({ currentData, config, checkMode,
useEffect(() => {
const toolInstance = ptCtx.topViewInstance?.pointCloud2dOperation;

if (!toolInstance) {
if (!toolInstance || checkMode) {
return;
}
// TopViewOperation Emitter
Expand Down

0 comments on commit 1f80161

Please sign in to comment.