This commit is contained in:
Bunny67
2020-06-06 14:01:23 +03:00
parent 3d6fecf039
commit 9f330fb563
3 changed files with 18 additions and 50 deletions
-18
View File
@@ -2810,7 +2810,6 @@ function WeakAuras.Modernize(data)
["Druid"] = "DRUID",
["Hunter"] = "HUNTER",
["Mage"] = "MAGE",
["Monk"] = "MONK",
["Paladin"] = "PALADIN",
["Priest"] = "PRIEST",
["Rogue"] = "ROGUE",
@@ -2948,23 +2947,6 @@ function WeakAuras.Modernize(data)
end
end
if (data.regionType == "progresstexture") then
if (not data.version or data.version < 2) then
if (data.orientation == "CLOCKWISE") then
if (data.inverse) then
data.startAngle, data.endAngle = 360 - data.endAngle, 360 - data.startAngle;
data.orientation = (data.orientation == "CLOCKWISE") and "ANTICLOCKWISE" or "CLOCKWISE";
end
elseif (data.orientation == "ANTICLOCKWISE") then
data.startAngle, data.endAngle = 360 - data.endAngle, 360 - data.startAngle;
if (data.inverse) then
data.orientation = (data.orientation == "CLOCKWISE") and "ANTICLOCKWISE" or "CLOCKWISE";
end
end
data.version = 2;
end
end
if (not data.activeTriggerMode) then
data.activeTriggerMode = 0;
end