diff --git a/src/viser/client/src/ThreeAssets.tsx b/src/viser/client/src/ThreeAssets.tsx index 9c956e187..c8e94397c 100644 --- a/src/viser/client/src/ThreeAssets.tsx +++ b/src/viser/client/src/ThreeAssets.tsx @@ -714,6 +714,8 @@ export const CameraFrustum = React.forwardRef< setImageTexture(texture); URL.revokeObjectURL(image_url); }); + } else { + setImageTexture(undefined); } }, [props.imageMediaType, props.imageBinary]);