You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bars: apply the missing-texture fallback on every update path
The green class-colour reports are missing textures: broken profiles
referenced bar textures belonging to other addons (third-party media
paths carried in by imported profiles). A statusbar texture that fails
to load renders solid green, so class colours appeared broken while
the colour settings were verifiably correct (confirmed by decoding a
reporter's export + SavedVariables: the broken profile/mode
combinations were exactly the ones whose healthTexture pointed at
third-party media, per-profile AND per-mode).
PR #123's SafeSetStatusBarTexture fallback only ran at frame CREATION;
ApplyFrameLayout re-applied db textures raw on every settings pass and
immediately clobbered the stock fallback. Route every user-configurable
bar texture through the safe setter: health/absorb/heal-absorb in
ApplyFrameLayout, the test-mode health + missing-health previews, and
the targeted-list bar. Internal constant textures (gradient LUTs, the
Blizzard shield overlay) are untouched.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@
4
4
5
5
### Bug Fixes
6
6
7
+
* (Bars) **Fixed health bars rendering solid green when a profile references a bar texture you don't have** — imported profiles often point at another addon's texture files; if that addon isn't installed (or its files changed), the bar showed WoW's green missing-texture state and class colours appeared broken. All bar textures now fall back to the stock texture with a one-time warning, on every update path (the fallback previously only applied when a frame was first created and was immediately overwritten). (by Krathe)
7
8
* (Bars) Fixed class-coloured health bars staying stuck on the gradient colour (usually green) after using or switching away from the Percent colour mode — the class/custom colour is now written directly to the bar texture, so it can no longer be masked by a leftover gradient tint. (by Krathe)
0 commit comments