Move FolderAddChild to correct place to avoid duplicates
This commit is contained in:
@@ -224,6 +224,9 @@ bool LoadOTIOTask::Run()
|
||||
|
||||
QFileInfo info(probed_item->filename());
|
||||
probed_item->SetLabel(info.fileName());
|
||||
|
||||
FolderAddChild add(sequence_footage, probed_item, false);
|
||||
add.redo();
|
||||
}
|
||||
|
||||
Track::Reference reference;
|
||||
@@ -237,9 +240,6 @@ bool LoadOTIOTask::Run()
|
||||
QString output_id = reference.ToString();
|
||||
|
||||
Node::ConnectEdge(NodeOutput(probed_item, output_id), NodeInput(block, ClipBlock::kBufferIn));
|
||||
|
||||
FolderAddChild add(sequence_footage, probed_item, false);
|
||||
add.redo();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user