Skip to content

Commit

Permalink
fix(pointcloud): Fix applyCameraTarget not to apply zoom
Browse files Browse the repository at this point in the history
  • Loading branch information
lijingchi committed Mar 23, 2023
1 parent 99e5642 commit c7b426a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lb-annotation/src/core/pointCloud/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ export class PointCloud {

if (camera) {
const cameraTarget = this.getOrthographicCameraTarget(camera as OrthographicCamera);
this.camera.zoom = camera.zoom;
this.updateCameraZoom(camera.zoom);
this.updateCamera(camera.position, cameraTarget);
}
};
Expand Down

0 comments on commit c7b426a

Please sign in to comment.