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

strict check for currentMeshId #458

Merged
merged 1 commit into from
Sep 7, 2022
Merged

strict check for currentMeshId #458

merged 1 commit into from
Sep 7, 2022

Conversation

redgvin
Copy link

@redgvin redgvin commented Sep 7, 2022

As we are have strict reset for slot.currentMeshId = undefined; and
id = VertexAttachment.nextID++; for runtime 4.0 or 4.1 and id = (VertexAttachment.nextID++ & 65535) << 11; for runtime 3.7 or 3.8 possible to be 0 not strict check !slot.currentMeshId can cause override mesh for already existing mesh and follow to override slot.currentMesh with undefined value and cause runtime error
Screenshot 2022-09-07 at 17 51 08
Screenshot 2022-09-07 at 18 05 07

@ivanpopelyshev ivanpopelyshev merged commit d2e0117 into pixijs-userland:master Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants