From 185f7d96b0ff71e1e730bbbbbd6a1ec749d3a708 Mon Sep 17 00:00:00 2001 From: "Alex H." <48185123+Vodes@users.noreply.github.com> Date: Mon, 16 Dec 2024 17:36:26 +0100 Subject: [PATCH] fix clamp_aa indentation --- vsaa/funcs.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vsaa/funcs.py b/vsaa/funcs.py index a3f4c62..0e9b99a 100644 --- a/vsaa/funcs.py +++ b/vsaa/funcs.py @@ -126,10 +126,10 @@ def clamp_aa( else: expr = f'x y - x z - xor x x y - abs x z - abs < z y {thr} + min y {thr} - max z ? ?' - clamped = norm_expr( - [func.work_clip, ref, weak_aa, strong_aa] if ref else [func.work_clip, strong_aa, strong_aa], - expr, func.norm_planes - ) + clamped = norm_expr( + [func.work_clip, ref, weak_aa, strong_aa] if ref else [func.work_clip, strong_aa, strong_aa], + expr, func.norm_planes + ) if mask: if not isinstance(mask, vs.VideoNode):