From 194fd54f04725398e55c38a068ea81c47ca0088d Mon Sep 17 00:00:00 2001 From: Sander Moolin Date: Sat, 3 Apr 2021 16:47:18 -0400 Subject: [PATCH] rectarealight helper fix --- src/lights/RectAreaLight.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lights/RectAreaLight.js b/src/lights/RectAreaLight.js index 789fb9a..0d78df5 100644 --- a/src/lights/RectAreaLight.js +++ b/src/lights/RectAreaLight.js @@ -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();