footageviewer: remove unnecessary cache invalidations

Minor optimization, now that the FootageViewer's nodes are
connected/disconnected as part of the process, the second call to invalidate
is unnecessary and will only serve to re-invalidate actually valid cache data.
This commit is contained in:
itsmattkc
2020-03-18 19:09:13 +11:00
parent f888cf7fe5
commit 78c504d292
-2
View File
@@ -64,8 +64,6 @@ void FootageViewerWidget::SetFootage(Footage *footage)
}
ConnectViewerNode(viewer_node_, footage->project()->color_manager());
video_renderer_->InvalidateCache(TimeRange(0, viewer_node_->Length()));
audio_renderer_->InvalidateCache(TimeRange(0, viewer_node_->Length()));
}
}