Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AssetLoader doesn't work when cache enabled. #13

Closed
piayo opened this issue Mar 19, 2013 · 4 comments
Closed

AssetLoader doesn't work when cache enabled. #13

piayo opened this issue Mar 19, 2013 · 4 comments

Comments

@piayo
Copy link

piayo commented Mar 19, 2013

maybe, AssetLoader doesn't work when cache enabled.

I had run in this case...

if(texture.width && texture.height){
texture.hasLoaded = true;
this.assets.push(texture);
this.onAssetLoaded();
} else if(!texture.hasLoaded){

thanks pixijs.

@GoodBoyDigital
Copy link
Member

Thank you piayo! Can I just check, did the Assetloader not work for you when cache enabled? or is the above snippet a precaution?

@piayo
Copy link
Author

piayo commented Mar 20, 2013

yes didn't work on Chrome 25.0.1364.172 (localhost)
it's just precaution case of me.

@GoodBoyDigital
Copy link
Member

Nice one piayo. I will leave this issue open for for a little longer to see how many other peeps are getting the same problem.

@lock
Copy link

lock bot commented Feb 27, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Feb 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants