mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-11-30 04:04:03 -05:00
feat: try zone settings on a past event from the zone editor Conflicts resolved against current master: - db/zm_update: master's 1.39.53 (MonitorPresets ControlId fix) kept; the PR's Zones.ObjectCoords migration renumbered to db/zm_update-1.39.54.sql and version.txt bumped to 1.39.54 (1.39.53 was already taken on master). - src/zm_zone.cpp: kept the PR's Zone::LoadRow extraction, but its per-row threshold conversion now uses master's RasterArea()/PercentToPixels() instead of the PR's stale polygon.Area() math, so runtime zone thresholds are unchanged from master. - tests/CMakeLists.txt: union of master's zm_zone_percent/zm_zone_scoring and the PR's zm_zone_load_row. - tests/zm_zone_load_row.cpp: percent-coords expectation updated to the RasterArea/PercentToPixels conversion it now exercises. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>