1
0
mirror of https://github.com/troisjs/trois.git synced 2024-11-24 04:12:02 +08:00

fix RectAreaLight unmounted

This commit is contained in:
Kevin Levron 2021-04-12 23:36:23 +02:00
parent 0f0fe659af
commit 89b2d99098

View File

@ -28,8 +28,5 @@ export default defineComponent({
this.initLight();
},
unmounted() {
if (this.lightHelper) this.removeFromParent(this.lightHelper);
},
__hmrId: 'RectAreaLight',
});