This commit is contained in:
Frank
2023-02-08 12:37:18 +01:00
parent 6adef47340
commit f02b7036a9
3 changed files with 186 additions and 20 deletions

View File

@@ -456,7 +456,7 @@ do -- Zones and Pathlines
-- Add zone.
self:AddZone(ZoneName, Zone)
elseif objectData.lineMode and objectData.lineMode=="segments" and objectData.points and #objectData.points>=2 then
elseif objectData.lineMode and (objectData.lineMode=="segments" or objectData.lineMode=="segment" or objectData.lineMode=="free") and objectData.points and #objectData.points>=2 then
-- Name of the zone.
local Name=objectData.name or "Unknown Line Drawing"