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

Fix pen drawing color #5569

Merged
merged 1 commit into from
Jul 6, 2022
Merged

Fix pen drawing color #5569

merged 1 commit into from
Jul 6, 2022

Conversation

takahirox
Copy link
Contributor

Fixes: #5563

This PR fixes pen drawing color. It was broken when upgrading our Three.js to r141.

The root issue is we didn't follow the latest Three.js API. Three.js materials take vertexColors parameter as boolean now.

https://github.com/mrdoob/three.js/wiki/Migration-Guide#r113--r114

This PR fixes by following the latest API.

This commit fixes pen drawing color. It was broken when upgrading
our Three.js to r141.

The root issue is we didn't follow the latest Three.js API.
Three.js materials take vertexColors parameter as boolean now.
This commit fixes by following the latest API.
@takahirox takahirox merged commit 944fe08 into master Jul 6, 2022
@takahirox takahirox deleted the FixPen branch July 6, 2022 23:26
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.

Pen's draw is white
1 participant