# HG changeset patch # User Nenue # Date 1491857073 14400 # Node ID 5d33e98710a0b566533a5e2b0d24e8b75191bdf8 # Parent 9be69336c0b3fa3ed43fa2ae34228f92301236ab - Fixed pin transitions between world map and flight map. diff -r 9be69336c0b3 -r 5d33e98710a0 WorldQuests.lua --- a/WorldQuests.lua Mon Apr 10 13:14:29 2017 -0400 +++ b/WorldQuests.lua Mon Apr 10 16:44:33 2017 -0400 @@ -582,9 +582,10 @@ local questID, x, y = info.questId, info.x, info.y local pin = self:AcquirePin(info) + if pin then print(pin.title, pin.isStale) - if pin:IsShown() and (layoutDirty or pin.isStale) then + if pin:IsShown() and (layoutDirty or pin.isStale or (pin.owningFrame ~= WorldMapFrame)) then local scaleFactor = SCALE_FACTORS[(pin.dataLoaded and not pin.filtered) and scaleConstant or 1] pin.owningFrame = WorldMapFrame pin:SetAnchor(WorldMapPOIFrame, x, y, self.hostWidth, self.hostHeight, scaleFactor)