renderer: always hash along edges
This commit is contained in:
@@ -93,16 +93,15 @@ void TimeRemapNode::Retranslate()
|
||||
SetInputName(kInputInput, QStringLiteral("Input"));
|
||||
}
|
||||
|
||||
void TimeRemapNode::Hash(const ValueHint &output, QCryptographicHash &hash, const NodeGlobals &globals, const VideoParams &video_params) const
|
||||
void TimeRemapNode::Hash(QCryptographicHash &hash, const NodeGlobals &globals, const VideoParams &video_params) const
|
||||
{
|
||||
// Don't hash anything of our own, just pass-through to the connected node at the remapped tmie
|
||||
Q_UNUSED(output)
|
||||
if (IsInputConnected(kInputInput)) {
|
||||
Node *out = GetConnectedOutput(kInputInput);
|
||||
|
||||
NodeGlobals new_globals = globals;
|
||||
new_globals.set_time(TimeRange(GetRemappedTime(globals.time().in()), GetRemappedTime(globals.time().out())));
|
||||
out->Hash(GetValueHintForInput(kInputInput, -1), hash, new_globals, video_params);
|
||||
Node::Hash(out, GetValueHintForInput(kInputInput), hash, new_globals, video_params);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user