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:
commit
62f47d10aa
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user