Skip to content

Commit

Permalink
Allow erase for frustum images
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi committed Nov 23, 2024
1 parent 531855d commit 66c5aaf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/viser/client/src/ThreeAssets.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -714,6 +714,8 @@ export const CameraFrustum = React.forwardRef<
setImageTexture(texture);
URL.revokeObjectURL(image_url);
});
} else {
setImageTexture(undefined);
}
}, [props.imageMediaType, props.imageBinary]);

Expand Down

0 comments on commit 66c5aaf

Please sign in to comment.