Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed: Don't assume a sprite is in Patch format
At sprite definition time validate whether the associated resource is a Patch and if so, obtain the world dimension and offset values to attribute with the sprite. Otherwise, ignore the resource for now and allow the texture loader to attribute the world dimensions from the pixel dimensions of image resource at load time.
- Loading branch information
1 parent
073ee3b
commit 5cbeee8
Showing
1 changed file
with
27 additions
and
10 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