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: resolve the console warning of shader material #34

Merged
merged 2 commits into from
Sep 9, 2023

Conversation

alexzhang1030
Copy link
Contributor

Why

The console will print warning messages if using shaderMaterial

image

Cause we use assign to merge parameters and Three.ShaderMaterial. There is no need to use super(...parameters)

What

Checklist

  • Documentation updated
  • Ready to be merged

@codesandbox-ci
Copy link

codesandbox-ci bot commented Sep 7, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit d144984:

Sandbox Source
jolly-wave-23lpjt Configuration
Ground reflections and video textures Configuration
arc-x-pmndrs-colors Configuration

@vis-prime
Copy link
Collaborator

typescript has no problems with this right ?

@alexzhang1030
Copy link
Contributor Author

typescript has no problems with this right ?

Yeah, tsc works well

@vis-prime
Copy link
Collaborator

i changed one loadash.assign to Object.assign should be fine right ? 6cda825

@alexzhang1030
Copy link
Contributor Author

i changed one loadash.assign to Object.assign should be fine right ? 6cda825

I have merged the main branch, and no issues arose.

@vis-prime vis-prime merged commit 37e3595 into pmndrs:main Sep 9, 2023
@github-actions
Copy link

github-actions bot commented Sep 9, 2023

🎉 This PR is included in version 1.11.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@alexzhang1030 alexzhang1030 deleted the fix/shader-warning branch September 10, 2023 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants