From cfae632b2579e0ca737bfb1dc6f24df7f017154a Mon Sep 17 00:00:00 2001 From: ChenX Date: Fri, 5 Jul 2024 11:11:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D:=E7=82=B8=E5=BC=80=E5=A4=8D?= =?UTF-8?q?=E5=90=88=E5=AE=9E=E4=BD=93=E6=97=B6,=E5=A6=82=E6=9E=9C?= =?UTF-8?q?=E5=86=85=E9=83=A8=E6=98=AF=E5=A4=8D=E5=90=88=E5=AE=9E=E4=BD=93?= =?UTF-8?q?=E6=97=B6,=E4=BD=8D=E7=BD=AE=E5=8F=AF=E8=83=BD=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Add-on/Explode.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Add-on/Explode.ts b/src/Add-on/Explode.ts index 88666aaa8..a660d0b0b 100644 --- a/src/Add-on/Explode.ts +++ b/src/Add-on/Explode.ts @@ -1,7 +1,9 @@ import { app } from '../ApplicationServices/Application'; import { Log, LogType } from '../Common/Log'; +import { UpdateDraw } from '../Common/Status'; import { Arc } from '../DatabaseServices/Entity/Arc'; import { Circle } from '../DatabaseServices/Entity/Circle'; +import { CompositeEntity } from '../DatabaseServices/Entity/CompositeEntity'; import { Line } from '../DatabaseServices/Entity/Line'; import { Text } from '../DatabaseServices/Text/Text'; import { Command } from '../Editor/CommandMachine'; @@ -35,6 +37,8 @@ export class Command_Explode implements Command for (let e of ens) { app.LayoutTool.AppendDatabaseSpace(e); + if (e instanceof CompositeEntity)//矩形 复合 移动 复合 炸开后位置不正确 + e.Update(UpdateDraw.Matrix); } } }