From 095fde688d700835eef34126d9985478fa74c4f6 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 19 Jun 2020 20:30:04 +0200 Subject: [PATCH] Fix timeline for DCPs containing Atmos. --- src/wx/timeline.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wx/timeline.cc b/src/wx/timeline.cc index cbea2333c..c9a6dc9f1 100644 --- a/src/wx/timeline.cc +++ b/src/wx/timeline.cc @@ -262,8 +262,8 @@ Timeline::recreate_views () _views.push_back (shared_ptr (new TimelineTextContentView (*this, i, j))); } - if (dynamic_pointer_cast (i)) { - _views.push_back (shared_ptr (new TimelineAtmosContentView (*this, i))); + if (i->atmos) { + _views.push_back (shared_ptr(new TimelineAtmosContentView(*this, i))); } } -- 2.30.2