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

Removed override of .receiveShadow from Light.js #20357

Merged
merged 3 commits into from
Sep 15, 2020
Merged

Removed override of .receiveShadow from Light.js #20357

merged 3 commits into from
Sep 15, 2020

Conversation

ycw
Copy link
Contributor

@ycw ycw commented Sep 15, 2020

use inherited value, 'false', from its base class Object3D.

inherited value is `false` (from its based class, Object3D)
`receiveShadow` is always boolean. skip redundant check `object.receiveShadow !== undefined &&`.
@mrdoob mrdoob added this to the r121 milestone Sep 15, 2020
@mrdoob mrdoob merged commit c03a3e3 into mrdoob:dev Sep 15, 2020
@mrdoob
Copy link
Owner

mrdoob commented Sep 15, 2020

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.

None yet

2 participants