We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Succeed in switching textures under the following conditions.
Can not switching textures. (I found when using PIXI.BitmapText.)
I think the following is probably the cause.
pixijs/packages/canvas-mesh/src/CanvasMeshRenderer.ts
Lines 118 to 129 in a984e4c
See jsfiddle https://jsfiddle.net/pegta1Lr/1/
pixi.js
The text was updated successfully, but these errors were encountered:
Thank you @oretti for reporting. And the example was extremely helpful making a fix.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Expected Behavior
Succeed in switching textures under the following conditions.
Current Behavior
Can not switching textures.
(I found when using PIXI.BitmapText.)
Possible Solution
I think the following is probably the cause.
pixijs/packages/canvas-mesh/src/CanvasMeshRenderer.ts
Lines 118 to 129 in a984e4c
CanvasMeshRenderer caches images when changing tints, but does not re-cache images when changing textures.
Steps to Reproduce
See jsfiddle
https://jsfiddle.net/pegta1Lr/1/
Environment
pixi.js
version: v6.5.8 / v7.0.4The text was updated successfully, but these errors were encountered: