fix(learner): show every learned pin on Sunstrider, not a clustered dot

A prior change (dd630fd) kept clustering enabled on Sunstrider Isle in
learner mode to avoid pin fan-out, but that collapsed several distinct
learned coordinates (e.g. 7 Arcane Wraith spots) into a single pin --
breaking the DB-building workflow where every learned spawn must be
visible. The SavedVariables data was correct the whole time; this was a
display regression. Sunstrider (1241) now shows every distinct pin by
default in all data-source modes; consolidation only happens when the
player explicitly raises the Dense Pin Clustering Aggressiveness knob.
This commit is contained in:
Xurkon
2026-06-11 15:34:04 -05:00
parent 900ff4a4e4
commit 6355545890
2 changed files with 9 additions and 9 deletions
+8 -9
View File
@@ -2073,15 +2073,14 @@ _DrawObjectiveIcons = function(questId, iconsToDraw, objective, maxPerType)
range = range * 0.2; -- Only use 20% of the default range.
end
-- Sunstrider Isle (uiMapID 1241) is a tiny starting area where AscensionDB
-- places individual spawn coords that should each show as a distinct pin.
-- In learner mode we keep clustering enabled so newly learned coordinates
-- can still consolidate; static/auto keeps the old "show every pin" path.
local learnerMode = Questie.dbLearner
and Questie.dbLearner.global
and Questie.dbLearner.global.settings
and Questie.dbLearner.global.settings.dataSourceMode == "learner"
if orderedList[1] and orderedList[1].zone == 1241 and not learnerMode then
-- Sunstrider Isle (uiMapID 1241) is a tiny starting area where AscensionDB and the
-- learner both place individual spawn coords that should each render as a distinct pin
-- — it is also where players build/verify the learner DB and need to SEE every learned
-- spawn, not a single consolidated dot. Show every pin here by default in ALL data-source
-- modes (learner included). Only consolidate when the player has explicitly turned up the
-- Dense Pin Clustering Aggressiveness knob; the previous "cluster in learner mode" special
-- case collapsed multiple learned spawns into one pin, which broke DB building.
if orderedList[1] and orderedList[1].zone == 1241 and densityAggression == 0 then
range = 0
end