separated setting time and processing node functions

This commit is contained in:
itsmattkc
2019-08-27 23:38:24 +10:00
parent 35db54075d
commit b9ce02a0ec
29 changed files with 146 additions and 109 deletions
+2 -2
View File
@@ -47,10 +47,10 @@ void NodeOutput::set_data_type(const NodeParam::DataType &type)
}
}
const QVariant &NodeOutput::get_value(const rational& time)
const QVariant &NodeOutput::get_value()
{
// Node::Process() should put the correct value in this output
parent()->Run(time);
parent()->Run();
// The value should be have been set by this point
return value_;