Skip to content

Summarise replacement mip size mismatches in the log - #322

Open
CharlieMacnamara wants to merge 1 commit into
encounter:mainfrom
CharlieMacnamara:texture-replacement-mip-warnings
Open

CharlieMacnamara wants to merge 1 commit into
encounter:mainfrom
CharlieMacnamara:texture-replacement-mip-warnings

Conversation

@CharlieMacnamara

Copy link
Copy Markdown

A texture pack whose mip levels were authored for another texture size logs a warning for every level it skips. A 4K pack against the retail sizes produced 391 of the 397 warning lines in one session, which hides everything else in the log.

The first mismatch still prints its file, sizes and level. The rest are counted, and clear_replacements prints one line at shutdown with the number of levels, the number of replacements and the distinct sizes that were asked for.

A texture pack authored for another texture size logs a warning for every level it skips. A 4K pack
against the retail sizes produced 391 of the 397 warning lines in one session, hiding everything else
in the log.

The first mismatch keeps its file, sizes and level. The rest are counted, and clear_replacements
prints one line with the number of levels, the number of replacements and the distinct sizes that
were asked for.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant