timeline: fixed crash

This commit is contained in:
itsmattkc
2021-09-21 12:38:01 -07:00
parent 3b8736dbf7
commit 2d3aaa474d
+1 -1
View File
@@ -201,7 +201,7 @@ void ImportTool::FootageToGhosts(rational ghost_start, const DraggedFootageData
for (auto it=sorted.cbegin(); it!=sorted.cend(); it++) {
ViewerOutput* footage = it->first;
if (footage == sequence() || sequence()->OutputsTo(footage, true)) {
if (footage == sequence() || (sequence() && sequence()->OutputsTo(footage, true))) {
// Prevent cyclical dependency
continue;
}