Copies keep structure force

- IrisObjectPlacement.toPlacement copies forcedByStructure, so slope-turned structure pieces keep the river and pond exclusion
- Tests cover the copied marker and a slope-turned forced piece over a river
This commit is contained in:
Brian Neumann-Fopiano committed 2026-11-02 05:49:25 -05:00
1 parent 0c7b0b7b80
commit 7574e39f39
3 files changed
+24

No files matched your search

@@ -350,6 +350,7 @@ public class IrisObjectPlacement {
p.setAllowedCollisions(allowedCollisions);
p.setForbiddenCollisions(forbiddenCollisions);
p.setForcePlace(forcePlace);
p.setForcedByStructure(forcedByStructure);
return p;
}