changed create_effect to a static member of Effect
This commit is contained in:
+1
-1
@@ -212,7 +212,7 @@ void AddEffectCommand::doUndo() {
|
||||
|
||||
void AddEffectCommand::doRedo() {
|
||||
if (ref == nullptr) {
|
||||
ref = create_effect(clip, meta);
|
||||
ref = Effect::Create(clip, meta);
|
||||
}
|
||||
if (pos < 0) {
|
||||
clip->effects.append(ref);
|
||||
|
||||
Reference in New Issue
Block a user