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', };