Commit b337868
committed
fix(armory): use file_ids[10] as primary composite icon slot
Composite item icons were resolved via {gendered slot (0/5), slot 8},
which doesn't match the client's own CICompositePlayer::GetCompositeGeometry
order (file_ids[10] first, then the gendered slot). Slot 8 isn't part of
that resolution at all, and for items that lack a stream-1 icon there it
falls back to stream 0 - a full-size worn-model skin/pattern texture, not
an icon. Trying slot 10 first fixes ~166 misrendered armory icons (e.g.
Dragon Scalp Design) with no regressions, verified against every
model_file_id used by the Armory module.1 parent 76758db commit b337868
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1366 | 1366 | | |
1367 | 1367 | | |
1368 | 1368 | | |
1369 | | - | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
1370 | 1373 | | |
1371 | 1374 | | |
1372 | 1375 | | |
1373 | | - | |
| 1376 | + | |
1374 | 1377 | | |
1375 | 1378 | | |
1376 | 1379 | | |
| |||
0 commit comments