more missing lines
This commit is contained in:
@@ -139,8 +139,9 @@ double TransitionBlock::GetInProgress(const double &time) const
|
||||
|
||||
void TransitionBlock::Hash(const ValueHint &output, QCryptographicHash &hash, const NodeGlobals &globals, const VideoParams &video_params) const
|
||||
{
|
||||
if (HashPassthrough(kInBlockInput, output, hash, globals, video_params) || HashPassthrough(kOutBlockInput, output, hash, globals, video_params)) {
|
||||
HashAddNodeSignature(hash);
|
||||
if (HashPassthrough(kInBlockInput, GetValueHintForInput(kInBlockInput, -1), hash, globals, video_params)
|
||||
|| HashPassthrough(kOutBlockInput, GetValueHintForInput(kOutBlockInput, -1), hash, globals, video_params)) {
|
||||
HashAddNodeSignature(hash, output);
|
||||
|
||||
double time_dbl = globals.time().in().toDouble();
|
||||
double all_prog = GetTotalProgress(time_dbl);
|
||||
|
||||
@@ -328,7 +328,7 @@ void TransformDistortNode::Hash(const ValueHint &output, QCryptographicHash &has
|
||||
|
||||
if (!matrix.isIdentity()) {
|
||||
// Add fingerprint
|
||||
HashAddNodeSignature(hash);
|
||||
HashAddNodeSignature(hash, output);
|
||||
hash.addData(reinterpret_cast<const char*>(&matrix), sizeof(matrix));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -116,7 +116,7 @@ void MergeNode::Hash(const ValueHint &output, QCryptographicHash &hash, const No
|
||||
|
||||
if (!passthrough_base && !passthrough_blend) {
|
||||
// This merge will actually do something so we add a fingerprint
|
||||
HashAddNodeSignature(hash);
|
||||
HashAddNodeSignature(hash, output);
|
||||
}
|
||||
|
||||
if (!passthrough_base) {
|
||||
|
||||
@@ -50,7 +50,7 @@ private:
|
||||
|
||||
NodeInput input_;
|
||||
|
||||
NodeOutput connected_node_;
|
||||
Node *connected_node_;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user