From 5bccd97ab10fa6742a8e4daca3b0c8bc6b98289c Mon Sep 17 00:00:00 2001 From: xiefan <1789784602@qq.com> Date: Fri, 3 Apr 2020 10:32:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=80=89=E6=8B=A9=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E5=8F=96=E6=B6=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Viewer.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Viewer.ts b/src/Viewer.ts index 7fbdd40..e6d0107 100644 --- a/src/Viewer.ts +++ b/src/Viewer.ts @@ -214,6 +214,7 @@ export class Viewer { if (obj.id == meshId) { + this.oldMesh = obj; obj.material = selectMaterial; this.m_bNeedUpdate = true; }