From 5d141d165226d572bdde9f047709c3ffd7971432 Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Fri, 2 Jul 2010 02:09:20 -0400 Subject: [PATCH] Added debug for waypoint generation - for some reason TomTom doesn't seem to like most Outland locations. --- Waypoint.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Waypoint.lua b/Waypoint.lua index a3ddbe2..5b09440 100644 --- a/Waypoint.lua +++ b/Waypoint.lua @@ -525,6 +525,10 @@ function addon:AddWaypoint(recipe_id, acquire_id, location_id) end if _G.TomTom then + addon:Debug("Adding TomTom waypoint: ") + addon:Debug("Continent: %s, Zone: %s, X: %s, Y: %s, Name: %s, minimap: %s, worldmap: %s", + tostring(continent), tostring(zone), tostring(x), tostring(y), tostring(name), tostring(minimap), tostring(worldmap)) + table.insert(iconlist, _G.TomTom:AddZWaypoint(continent, zone, x, y, name, false, minimap, worldmap)) elseif _G.Cartographer_Waypoints then local pt = _G.NotePoint:new(zone, x/100, y/100, desc) -- 1.7.9.5