added clone functions for nodes
Since nodes are are extremely derivative types, we use a clone/copy function to produce new types of the derived class easily.
This commit is contained in:
@@ -25,6 +25,11 @@ AlphaOverBlend::AlphaOverBlend()
|
||||
|
||||
}
|
||||
|
||||
Node *AlphaOverBlend::copy()
|
||||
{
|
||||
return new AlphaOverBlend();
|
||||
}
|
||||
|
||||
QString AlphaOverBlend::Name()
|
||||
{
|
||||
return tr("Alpha Over");
|
||||
|
||||
Reference in New Issue
Block a user