Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New haloes were sometimes added to both new_haloes and invalidated_haloes, and were therefore rendered twice in the same frame. As a result, the halo added itself to its unrender buffer, and therefore remained on screen even after unrendering. Eliminating the entire new_haloes set fixes the issue. Fixes #2187.
- Loading branch information
Showing
1 changed file
with
4 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80d4259
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert that! now the unit halo flick when unit move!
80d4259
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll try to find a different fix first.