fixed various caching issues
This commit is contained in:
@@ -27,6 +27,7 @@ Block::Block() :
|
||||
{
|
||||
previous_input_ = new NodeInput("prev_block");
|
||||
previous_input_->add_data_input(NodeParam::kBlock);
|
||||
previous_input_->set_dependent(false);
|
||||
AddParameter(previous_input_);
|
||||
|
||||
block_output_ = new NodeOutput("block_out");
|
||||
@@ -63,8 +64,12 @@ const rational& Block::length()
|
||||
|
||||
void Block::set_length(const rational &length)
|
||||
{
|
||||
Lock();
|
||||
|
||||
length_ = length;
|
||||
|
||||
Unlock();
|
||||
|
||||
RefreshFollowing();
|
||||
}
|
||||
|
||||
@@ -181,16 +186,6 @@ void Block::set_media_in(const rational &media_in)
|
||||
}
|
||||
}
|
||||
|
||||
QList<NodeDependency> Block::RunDependencies(NodeOutput* param, const rational &time)
|
||||
{
|
||||
// Base Blocks have no direct dependencies
|
||||
|
||||
Q_UNUSED(param)
|
||||
Q_UNUSED(time)
|
||||
|
||||
return QList<NodeDependency>();
|
||||
}
|
||||
|
||||
rational Block::SequenceToMediaTime(const rational &sequence_time)
|
||||
{
|
||||
// These constants are not considered "values" per se, so we don't modify them
|
||||
|
||||
Reference in New Issue
Block a user