diff --git a/src/Editor/CommandRegister.ts b/src/Editor/CommandRegister.ts index 9e3adbd3a..f2153d16d 100644 --- a/src/Editor/CommandRegister.ts +++ b/src/Editor/CommandRegister.ts @@ -749,7 +749,8 @@ export function registerCommand() //加工组 commandMachine.RegisterCommand(CommandNames.ShowProcessingGroupModal, new Command_ShowProcessingGroupModal()); //对纹组 - commandMachine.RegisterCommand(CommandNames.AlignLineGroup, new Command_AlignLineGroup()); + if (IsTest()) + commandMachine.RegisterCommand(CommandNames.AlignLineGroup, new Command_AlignLineGroup()); commandMachine.RegisterCommand(CommandNames.Text2Curve, new Text2Curve());