nodes: store time with accelerated jobs

Fixes #2031
This commit is contained in:
itsmattkc
2022-09-23 02:55:18 -07:00
parent b553d5afb7
commit b19730b1f5
10 changed files with 37 additions and 29 deletions
+1 -1
View File
@@ -410,7 +410,7 @@ void MathNodeBase::ValueInternal(Operation operation, Pairing pairing, const QSt
output->Push(NodeValue::kSamples, QVariant::fromValue(buffer), this);
} else {
SampleJob job(val_a.type() == NodeValue::kSamples ? val_a : val_b);
SampleJob job(globals.time(), val_a.type() == NodeValue::kSamples ? val_a : val_b);
job.Insert(number_param, NodeValue(NodeValue::kFloat, number, this));
output->Push(NodeValue::kSamples, QVariant::fromValue(job), this);
}