1
0
mirror of https://github.com/troisjs/trois.git synced 2024-11-23 20:02:32 +08:00

Merge pull request #36 from SaFrMo/rectarealight-fix

rectarealight helper fix
This commit is contained in:
Kevin LEVRON 2021-04-03 22:55:27 +02:00 committed by GitHub
commit 62f47d10aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ export default {
if (this.helper) {
this.lightHelper = new RectAreaLightHelper(this.light);
this.addToParent(this.lightHelper);
this.light.add(this.lightHelper);
}
this.initLight();