timeline: check if sequence outputs to node about to be imported
Fixes #1744
This commit is contained in:
@@ -201,7 +201,7 @@ void ImportTool::FootageToGhosts(rational ghost_start, const DraggedFootageData
|
|||||||
for (auto it=sorted.cbegin(); it!=sorted.cend(); it++) {
|
for (auto it=sorted.cbegin(); it!=sorted.cend(); it++) {
|
||||||
ViewerOutput* footage = it->first;
|
ViewerOutput* footage = it->first;
|
||||||
|
|
||||||
if (footage == sequence()) {
|
if (footage == sequence() || sequence()->OutputsTo(footage, true)) {
|
||||||
// Prevent cyclical dependency
|
// Prevent cyclical dependency
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user