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

Layers: Fix set() #22867

Merged
merged 1 commit into from
Nov 23, 2021
Merged

Layers: Fix set() #22867

merged 1 commit into from
Nov 23, 2021

Conversation

jynxio
Copy link
Contributor

@jynxio jynxio commented Nov 21, 2021

Related issue: Fixed #22817

Description
After calling set(31), the value of mask will be updated to 2147483648 instead of -2147483648

Related issue: #22817
Description:
After calling `set(31)`, the value of mask will be updated to 2147483648 instead of -2147483648
@Mugen87
Copy link
Collaborator

Mugen87 commented Nov 21, 2021

Test case: https://jsfiddle.net/s3bp4yod/

@Mugen87 Mugen87 added this to the r135 milestone Nov 22, 2021
@mrdoob mrdoob merged commit bf9f2ec into mrdoob:dev Nov 23, 2021
@mrdoob
Copy link
Owner

mrdoob commented Nov 23, 2021

Thanks!

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.

The mask attribute of Layers is -2147483648
3 participants