From ef046d5ed6b8d32ba347e1e7addf8774a80c9ff1 Mon Sep 17 00:00:00 2001 From: itsmattkc <34096995+itsmattkc@users.noreply.github.com> Date: Fri, 6 May 2022 09:12:22 -0700 Subject: [PATCH] mathbase: don't push sample job if no samples are found Not sure what this code was supposed to do, but this doesn't look right at all --- app/node/math/math/mathbase.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/node/math/math/mathbase.cpp b/app/node/math/math/mathbase.cpp index 51ef80060..00c0b7ce4 100644 --- a/app/node/math/math/mathbase.cpp +++ b/app/node/math/math/mathbase.cpp @@ -416,8 +416,6 @@ void MathNodeBase::ValueInternal(Operation operation, Pairing pairing, const QSt } else { output->Push(NodeValue::kSamples, QVariant::fromValue(job), this); } - } else { - output->Push(NodeValue::kSamples, QVariant::fromValue(job), this); } break; }