Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed: Group-animated materials cease animating after an engine reset.
Materials_AnimateAnimGroup assumed that all required variants for all materials involved in the translation will have already been prepared. This is not correct as an engine reset will invalidate all prepared variants and because the playsim thinks before rendering we must call Materials_Prepare rather than Materials_ChooseVariant.
- Loading branch information
1 parent
01782c7
commit d69efed
Showing
2 changed files
with
10 additions
and
8 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
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