From fb67bb36b58b546bd5a5c7da8ecf0533c454d264 Mon Sep 17 00:00:00 2001 From: ChenX Date: Wed, 18 Apr 2018 10:08:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=AE=9E=E4=BD=93=E7=BB=98?= =?UTF-8?q?=E5=88=B6,=E4=BF=9D=E8=AF=81=E5=AE=9E=E4=BD=93=E5=9C=A8?= =?UTF-8?q?=E7=BB=98=E5=88=B6=E6=97=B6=E6=9B=B4=E6=96=B0=E5=AF=B9=E8=B1=A1?= =?UTF-8?q?=E7=9F=A9=E9=98=B5.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/DatabaseServices/Entity.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DatabaseServices/Entity.ts b/src/DatabaseServices/Entity.ts index ffbadc217..961112063 100644 --- a/src/DatabaseServices/Entity.ts +++ b/src/DatabaseServices/Entity.ts @@ -103,9 +103,9 @@ export class Entity extends CADObject { let drawObj = this.InitDrawObject(renderType); - drawObj.matrix = this.m_Matrix; - drawObj.matrixAutoUpdate = false; + drawObj.matrix.copy(this.m_Matrix); + drawObj.updateMatrixWorld(true); this.UpdateBoundingSphere(drawObj);