Skip to content

Commit

Permalink
ISSUE #4425 - updating/deleting camera does not affect image
Browse files Browse the repository at this point in the history
  • Loading branch information
Amantini1997 committed Aug 31, 2023
1 parent f5e6b89 commit 5aa13e3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ export const TicketView = ({
// Camera
const onUpdateCamera = async () => {
const currentCameraAndClipping = await ViewerService.getViewpoint();
const screenshot = stripBase64Prefix(await ViewerService.getScreenshot());
onChange?.({ screenshot, ...currentCameraAndClipping });
onChange?.({ ...value, ...currentCameraAndClipping });
};

const onDeleteCamera = async () => {
Expand Down

0 comments on commit 5aa13e3

Please sign in to comment.