BUGFIX:印花 overall

This commit is contained in:
xupei
2023-10-05 14:25:25 +08:00
parent 7a1652ac60
commit 9877a5240f

View File

@@ -1397,8 +1397,12 @@ public class PythonService {
List<DesignSinglePrint> 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));