Fix issue with cutoff. The other logic might not be quite correct either

This commit is contained in:
asagi4
2025-01-31 00:55:30 +02:00
parent 72f5a05a8c
commit 0cd8d936ff
+5 -1
View File
@@ -65,6 +65,10 @@ class MUConditioningCutoff:
if len(res) == 0:
log.warn("Cutoff would filter all conds, using the last one")
res = conds[-1]
c = conds[-1]
c = [c[0], c[1].copy()]
c[1]["start_percent"] = 0.0
c[1]["end_percent"] = 1.0
res.append(c)
return (res,)