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

ShadowMaterial: Added .copy() #13416

Merged
merged 1 commit into from
Feb 24, 2018
Merged

ShadowMaterial: Added .copy() #13416

merged 1 commit into from
Feb 24, 2018

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Feb 23, 2018

An attentive user in the forum noticed that ShadowMaterial does not implement a .copy() method although .color is defined in the constructor. The PR adds the method and removes two unnecessary assignments since .opacity and .lights already have the intended value.

https://discourse.threejs.org/t/question-about-fromdirectgeometry-function-of-buffergeometry/1890/3?u=mugen87

@mrdoob mrdoob added this to the r91 milestone Feb 24, 2018
@mrdoob mrdoob merged commit e9213eb into mrdoob:dev Feb 24, 2018
@mrdoob
Copy link
Owner

mrdoob commented Feb 24, 2018

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.

2 participants