Skip to content

Commit

Permalink
fix: interact mesh rendering has offset
Browse files Browse the repository at this point in the history
  • Loading branch information
wumaolin.wml committed Nov 29, 2024
1 parent b122efe commit 0e56750
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ export class InteractComponent extends RendererComponent {

override render (renderer: Renderer): void {
if (this.previewContent) {
this.previewContent.mesh.worldMatrix = this.transform.getWorldMatrix();
this.previewContent.mesh.render(renderer);
}
}
Expand Down

0 comments on commit 0e56750

Please sign in to comment.