From 36a7e7f5191c3a263bee603f422bc200afc6eff4 Mon Sep 17 00:00:00 2001 From: Kevin Levron Date: Thu, 1 Apr 2021 21:54:58 +0200 Subject: [PATCH] fix EffectPass (emits) --- src/effects/EffectPass.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/effects/EffectPass.js b/src/effects/EffectPass.js index a93d5a1..82a4ced 100644 --- a/src/effects/EffectPass.js +++ b/src/effects/EffectPass.js @@ -1,6 +1,6 @@ export default { inject: ['three', 'passes'], - events: ['ready'], + emits: ['ready'], beforeMount() { if (!this.passes) { console.error('Missing parent EffectComposer'); @@ -14,7 +14,7 @@ export default { this.passes.push(pass); this.pass = pass; this.$emit('ready', pass); - } + }, }, render() { return [];