-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Engine: fix a case when new sprite is matching object graphic property
Another problem with dynamic sprite since 3.6.1... Case: - an object has a dynamic sprite assigned; - dynamic sprite gets deleted, object redrawn, its texture updated etc, all good (displays safe placeholder); - new dynamic sprite created, with same index by coincidence, and assigned to the object; - object fails to redraw, because sprite's number is the same as saved in property value, and there's no notification on sprite *creation*. Solution: - make a "sprite updated" notification on sprite creation too.
- Loading branch information
1 parent
5a94bc0
commit 0fbf3a1
Showing
2 changed files
with
7 additions
and
7 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