From 89b2d99098d9739b9ce1397bc621ccea28a95cbe Mon Sep 17 00:00:00 2001 From: Kevin Levron Date: Mon, 12 Apr 2021 23:36:23 +0200 Subject: [PATCH] fix RectAreaLight unmounted --- src/lights/RectAreaLight.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lights/RectAreaLight.js b/src/lights/RectAreaLight.js index 551cad9..4a00ab4 100644 --- a/src/lights/RectAreaLight.js +++ b/src/lights/RectAreaLight.js @@ -28,8 +28,5 @@ export default defineComponent({ this.initLight(); }, - unmounted() { - if (this.lightHelper) this.removeFromParent(this.lightHelper); - }, __hmrId: 'RectAreaLight', });