changed create_effect to a static member of Effect

This commit is contained in:
itsmattkc
2019-02-28 03:09:42 -08:00
parent 8b648ebcef
commit 86b7124238
6 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -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);