some ripple behavior fixes
This commit is contained in:
@@ -64,6 +64,8 @@ const rational& Block::length()
|
||||
|
||||
void Block::set_length(const rational &length)
|
||||
{
|
||||
Q_ASSERT(length > 0);
|
||||
|
||||
Lock();
|
||||
|
||||
length_ = length;
|
||||
@@ -177,6 +179,16 @@ void Block::set_media_in(const rational &media_in)
|
||||
}
|
||||
}
|
||||
|
||||
const QString &Block::block_name()
|
||||
{
|
||||
return block_name_;
|
||||
}
|
||||
|
||||
void Block::set_block_name(const QString &name)
|
||||
{
|
||||
block_name_ = name;
|
||||
}
|
||||
|
||||
rational Block::SequenceToMediaTime(const rational &sequence_time)
|
||||
{
|
||||
// These constants are not considered "values" per se, so we don't modify them
|
||||
|
||||
@@ -67,6 +67,9 @@ public:
|
||||
const rational& media_in();
|
||||
void set_media_in(const rational& media_in);
|
||||
|
||||
const QString& block_name();
|
||||
void set_block_name(const QString& name);
|
||||
|
||||
public slots:
|
||||
/**
|
||||
* @brief Refreshes internal cache of in/out points up to date
|
||||
@@ -113,6 +116,8 @@ private:
|
||||
|
||||
Block* next_;
|
||||
|
||||
QString block_name_;
|
||||
|
||||
private slots:
|
||||
void EdgeAddedSlot(NodeEdgePtr edge);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user