From 50410d4cbb719a01c9b31924659930b8923fb9fa Mon Sep 17 00:00:00 2001 From: Kevin Levron Date: Fri, 5 Mar 2021 08:00:24 +0100 Subject: [PATCH] fix TiltShiftPass watch --- src/effects/TiltShiftPass.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/effects/TiltShiftPass.js b/src/effects/TiltShiftPass.js index e9c9ac1..72d17ff 100644 --- a/src/effects/TiltShiftPass.js +++ b/src/effects/TiltShiftPass.js @@ -33,7 +33,7 @@ export default { this.updateFocusLine(); ['start', 'end'].forEach(p => { - watch(() => this[p], this.updateFocusLine); + watch(() => this[p], this.updateFocusLine, { deep: true }); }); this.pass.setSize = (width, height) => {