code: use macros for default node functions
Easier to maintain
This commit is contained in:
@@ -31,11 +31,6 @@ SubtitleBlock::SubtitleBlock()
|
||||
AddInput(kTextIn, NodeValue::kText, InputFlags(kInputFlagNotConnectable | kInputFlagNotKeyframable));
|
||||
}
|
||||
|
||||
Node *SubtitleBlock::copy() const
|
||||
{
|
||||
return new SubtitleBlock();
|
||||
}
|
||||
|
||||
QString SubtitleBlock::Name() const
|
||||
{
|
||||
return tr("Subtitle");
|
||||
|
||||
Reference in New Issue
Block a user