more missing lines

This commit is contained in:
itsmattkc
2021-09-07 23:16:46 -07:00
parent 5220717fa8
commit e08f2f9c34
4 changed files with 6 additions and 5 deletions
+3 -2
View File
@@ -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));
}
}
+1 -1
View File
@@ -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_;
};