From 180d6a874e383f760186adfb63b744144b78fff3 Mon Sep 17 00:00:00 2001 From: giles Date: Wed, 4 Feb 2026 12:11:27 +0000 Subject: [PATCH] Fix fallback path to read ripple_amplitude from dynamic_params The Python fallback path was reading amplitude directly from effect dict instead of checking dynamic_params first like the CUDA kernel path does. Co-Authored-By: Claude Opus 4.5 --- sexp_effects/primitive_libs/streaming_gpu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sexp_effects/primitive_libs/streaming_gpu.py b/sexp_effects/primitive_libs/streaming_gpu.py index d0d80b4..daab2d3 100644 --- a/sexp_effects/primitive_libs/streaming_gpu.py +++ b/sexp_effects/primitive_libs/streaming_gpu.py @@ -918,7 +918,7 @@ def prim_fused_pipeline(img, effects_list, **dynamic_params): result = gpu_hue_shift(result, degrees) elif op == 'ripple': result = gpu_ripple(result, - amplitude=effect.get('amplitude', 10), + amplitude=dynamic_params.get('ripple_amplitude', effect.get('amplitude', 10)), frequency=effect.get('frequency', 8), decay=effect.get('decay', 2), phase=dynamic_params.get('ripple_phase', effect.get('phase', 0)),