nodes: moved hashing to nodes so they can override behavior if they wish
This commit is contained in:
@@ -418,6 +418,16 @@ NodeInputArray *TrackOutput::block_input() const
|
||||
return block_input_;
|
||||
}
|
||||
|
||||
void TrackOutput::Hash(QCryptographicHash &hash, const rational &time) const
|
||||
{
|
||||
// Resolve block list
|
||||
Block* b = BlockAtTime(time);
|
||||
|
||||
if (b) {
|
||||
return b->Hash(hash, time);
|
||||
}
|
||||
}
|
||||
|
||||
void TrackOutput::SetTrackName(const QString &name)
|
||||
{
|
||||
track_name_ = name;
|
||||
|
||||
Reference in New Issue
Block a user