removed data storage from input/output parameters

These will be held in the renderer structure from now on, not in the nodes
themselves. The nodes will serve more as a blueprint.
This commit is contained in:
itsmattkc
2019-12-04 20:12:31 +11:00
parent 0ad003a7f6
commit 6e49eaef9e
4 changed files with 0 additions and 107 deletions
-19
View File
@@ -225,25 +225,6 @@ void NodeInput::set_value_at_time(const rational &time, const QVariant &value)
emit ValueChanged(signal_vc_range.in(), signal_vc_range.out());
}
const QVariant &NodeInput::value()
{
return stored_value_;
}
void NodeInput::set_stored_value(const QVariant &value)
{
stored_value_ = value;
}
QVariant NodeInput::get_realtime_value_of_connected_output()
{
if (get_connected_output() == nullptr) {
return 0;
}
return get_connected_output()->get_realtime_value();
}
bool NodeInput::is_keyframing()
{
return keyframing_;