Library: a no-navigation zone already as asked is left alone #155
Loading…
Reference in a new issue
No description provided.
Delete branch "vinny/zone-noop"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
zones.set_no_navigationfrom tester bfcbde0.ActiveUnit.IsInsideNoNavZonesuntil its exception fuse tripped (20 exceptions, a warning dialog).unchanged: trueand changes nothing when the side's one zone of that name already has the corners (within about a metre), unit types and on/off switch asked. It still turns off no-fire.docs/TOOL_LIBRARY.mdnotes the collision. Evidence follows the library's new adapter revision.Test plan
tests/test_zone_tool.pycovers an unchanged zone with noAddZone/RemoveZonecalls and no-fire turned off, a redraw for moved corners, a corner count, the switch and unit types, and a lost zone drawn again.tests/test_expert_commander.pychecks that the refresh is drawn where the zone was. The new tests fail on the old code. Full tester suite: 1106 passed.tools/check.py --rev🤖 Generated with Claude Code