Skip to content

Commit

Permalink
Fix icon cache not considering Override first
Browse files Browse the repository at this point in the history
  • Loading branch information
th3w1zard1 committed Jun 10, 2024
1 parent 43e3f8e commit 1e6fde0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/HolocronToolset/src/toolset/data/installation.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def htGetCacheTPC(self, resname: str) -> TPC | None:
- Return cached texture or None if not found.
"""
if resname not in self._cacheTpc:
tex = self.texture(resname, [SearchLocation.TEXTURES_TPA, SearchLocation.TEXTURES_GUI])
tex = self.texture(resname, [SearchLocation.OVERRIDE, SearchLocation.TEXTURES_TPA, SearchLocation.TEXTURES_GUI])
if tex is not None:
self._cacheTpc[resname] = tex
return self._cacheTpc.get(resname, None)
Expand Down

0 comments on commit 1e6fde0

Please sign in to comment.