-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TileAnimation: Fix error thrown if map unset during preloading
- A layer cannot preload without a map. So when the masterLayer's map was unset, layer.preload threw and error. Fixed this by caching the masterLayer's map when preloading starts. Calling TileAnimation#preload with no map set to begin with will still throw an error (expected behavior).
- Loading branch information
Edan Schwartz
committed
Aug 7, 2014
1 parent
8231f70
commit 0940d88
Showing
2 changed files
with
23 additions
and
5 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