Skip to content

Commit

Permalink
Fix set_background_image() (broken by dependency update)
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi committed Sep 12, 2024
1 parent 652c8ab commit da76379
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/viser/client/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -665,11 +665,7 @@ function BackgroundImage() {
});

return (
<mesh
ref={backgroundMesh}
material={backgroundMaterial}
matrixWorldAutoUpdate={false}
>
<mesh ref={backgroundMesh} material={backgroundMaterial}>
<planeGeometry attach="geometry" args={[1, 1]} />
</mesh>
);
Expand Down

0 comments on commit da76379

Please sign in to comment.