From 9319a76a338f3b05281a9dff4fe1f3135061e1e8 Mon Sep 17 00:00:00 2001 From: Kevin Levron Date: Sun, 7 Mar 2021 13:14:55 +0100 Subject: [PATCH] fix light render --- src/lights/Light.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lights/Light.js b/src/lights/Light.js index a9e0827..75b61f0 100644 --- a/src/lights/Light.js +++ b/src/lights/Light.js @@ -5,6 +5,7 @@ import { bindProp, setFromProp } from '../tools.js'; export default { extends: Object3D, + name: 'Light', props: { color: { type: String, default: '#ffffff' }, intensity: { type: Number, default: 1 }, @@ -41,8 +42,5 @@ export default { if (this.light.target) this.$parent.add(this.light.target); }, }, - render() { - return []; - }, __hmrId: 'Light', };