From 0e56750125607936acda7392de007e76bdce9cc0 Mon Sep 17 00:00:00 2001 From: "wumaolin.wml" Date: Fri, 29 Nov 2024 11:55:12 +0800 Subject: [PATCH] fix: interact mesh rendering has offset --- packages/effects-core/src/plugins/interact/interact-item.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/effects-core/src/plugins/interact/interact-item.ts b/packages/effects-core/src/plugins/interact/interact-item.ts index 7ba78818..504edcb8 100644 --- a/packages/effects-core/src/plugins/interact/interact-item.ts +++ b/packages/effects-core/src/plugins/interact/interact-item.ts @@ -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); } }