Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# About the pull request This PR fixes two issues with getFlatIcon: It failing to properly resize its template dimensions to whatever icon dimensions it was passed, and it ignoring appearance_flags for RESET_COLOR and RESET_ALPHA. This was done to address issues with #4475 but can be even more performance costly than it already was because now it applies color and alpha blends per overlay/underlay layer rather than once per recursive call if there is a color/alpha to apply. # Explain why it's good for the game Fixes the broader potential uses for getFlatIcon such as flattening the tacmap. # Testing Photographs and Procedure <details> <summary>Screenshots & Videos</summary> Example of tacmap flattened prior to dimension fixes:  Example of tacmap flatted prior to color fixes:  Example of tacmap properly flattened:  </details> # Changelog :cl: Drathek fix: Fix getFlatIcon not resizing its template nor respect appearance_flags of RESET_COLOR and RESET_ALPHA /:cl:
- Loading branch information