port more nodes to use recursive jobs

This commit is contained in:
itsmattkc
2022-05-03 20:34:17 -07:00
parent 5f116633c5
commit d8a944c8c4
14 changed files with 159 additions and 63 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ namespace olive {
const QString PolygonGenerator::kPointsInput = QStringLiteral("points_in");
const QString PolygonGenerator::kColorInput = QStringLiteral("color_in");
#define super Node
#define super GeneratorWithMerge
PolygonGenerator::PolygonGenerator()
{
@@ -102,7 +102,7 @@ void PolygonGenerator::Value(const NodeValueRow &value, const NodeGlobals &globa
job.SetRequestedFormat(VideoParams::kFormatFloat32);
job.SetAlphaChannelRequired(GenerateJob::kAlphaForceOn);
table->Push(NodeValue::kTexture, QVariant::fromValue(job), this);
PushMergableJob(value, QVariant::fromValue(job), table);
}
void PolygonGenerator::GenerateFrame(FramePtr frame, const GenerateJob &job) const