[ISSUE] - Route only shows if 'always show' is selected, not if 'only when tracking' is selected
adrnde opened this issue ยท 2 comments
Description
Routes has the same somewhat minor issue as Gathermate2 has -- the option of 'only showing when tracking' fails; 'always show' must be selected for either addon to display results on map.
Routes Version
1.8.3
World of Warcraft Version
Retail (Default)
Testing Isolation
- No
- Yes, without any related optional dependencies.
- Yes, with related optional dependencies.
Lua Error(s)
No response
Reproduction Steps
Went to zone with a saved route -- nothing displayed.
Verified via 'edit route manually' that the route was still there
Recalled that Gathermate2, since patch, only shows nodes if 'always show' is selected; 'only show while tracking' is ignored.
Found/selected 'always show' option for Routes, which made the route show up again.
Last Known Good Version
worked in previous version of Retail
Screenshots
No response
Additional Information
No response
I've submitted the PR to fix this problem. There were changes in the tracking API
For a makeshift Fix: in the \Module\AutoShow.lua file, replace the current function AutoShow:MINIMAP_UPDATE_TRACKING() (line 79 onwards) with the following code:
function AutoShow:MINIMAP_UPDATE_TRACKING()
for i = 1, C_Minimap.GetNumTrackingTypes() do
local info = C_Minimap.GetTrackingInfo(i)
if tracking_spells[info.name] then
if info.active then
active_tracking[tracking_spells[info.name]] = true
else
active_tracking[tracking_spells[info.name]] = false
end
end
end
self:ApplyVisibility()
end