reduced the output of some nodes

Some nodes don't need to provide all their inputs merged as outputs.
This commit is contained in:
itsmattkc
2019-12-10 00:37:06 +11:00
parent 2fb4047e6f
commit f46b1245c4
7 changed files with 29 additions and 5 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ NodeValueTable TransformDistort::Value(const NodeValueDatabase &value) const
mat.translate(-value[anchor_input_].Get(NodeParam::kVec2).value<QVector2D>());
// Push matrix output
NodeValueTable output = value.Merge();
NodeValueTable output;
output.Push(NodeParam::kMatrix, mat);
return output;
}