aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditOffsetPointSet.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditOffsetPointSet.java')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditOffsetPointSet.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditOffsetPointSet.java b/src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditOffsetPointSet.java
index 58229623..cf617143 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditOffsetPointSet.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditOffsetPointSet.java
@@ -156,6 +156,10 @@ public class ValueEditOffsetPointSet extends MPanel implements ValueEdit<OffsetP
}
public void addAll(List<OffsetPoint> blockPoses) {
+ ((OffsetPointSet)parameter.getNewData()).getOffsetPointList().addAll(blockPoses);
+ for (OffsetPoint blockPose : blockPoses) {
+ MParameters.add(new MOffsetPoint(this, blockPose));
+ }
}
public static class Generator implements ValueEditCreator<ValueEditOffsetPointSet> {