From 9877a5240feadb5447b969da0b9fcd0c6aa0d5d5 Mon Sep 17 00:00:00 2001 From: xupei <1779019091@qq.com> Date: Thu, 5 Oct 2023 14:25:25 +0800 Subject: [PATCH] =?UTF-8?q?BUGFIX:=E5=8D=B0=E8=8A=B1=20overall?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/ai/da/python/PythonService.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/ai/da/python/PythonService.java b/src/main/java/com/ai/da/python/PythonService.java index fcfc32c1..3d957fee 100644 --- a/src/main/java/com/ai/da/python/PythonService.java +++ b/src/main/java/com/ai/da/python/PythonService.java @@ -1397,8 +1397,12 @@ public class PythonService { List prints = printObject.getPrints(); prints.forEach(p -> { if (printObject.getIfSingle().equals(Boolean.FALSE)){ + p.getLocation().set(0,p.getLocation().get(0)); + p.getLocation().set(1,p.getLocation().get(1)); scale.add(p.getScale()); - paths.add(p.getPath()); + paths.add(p.getMinIOPath()); + location.add(p.getLocation()); + angle.add(p.getAngle()); }else { p.getLocation().set(0,p.getLocation().get(0)); p.getLocation().set(1,p.getLocation().get(1));