node: fixed issue with "taking" values from input tables
As opposed to simply leaving all values in the table, nodes can now "take" values that they use to free up memory (e.g. "taking" input buffers if they're used to produce an output buffer). This is a fairly large change, expect regressions.
This commit is contained in:
@@ -77,7 +77,7 @@ void TrigonometryNode::Retranslate()
|
||||
method_in_->set_name(tr("Method"));
|
||||
}
|
||||
|
||||
NodeValueTable TrigonometryNode::Value(const NodeValueDatabase &value) const
|
||||
NodeValueTable TrigonometryNode::Value(NodeValueDatabase &value) const
|
||||
{
|
||||
float x = value[x_in_].Take(NodeParam::kFloat).toFloat();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user