projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7066750
)
Fix timeline for DCPs containing Atmos.
author
Carl Hetherington
<cth@carlh.net>
Fri, 19 Jun 2020 18:30:04 +0000
(20:30 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 19 Jun 2020 18:30:04 +0000
(20:30 +0200)
src/wx/timeline.cc
patch
|
blob
|
history
diff --git
a/src/wx/timeline.cc
b/src/wx/timeline.cc
index cbea2333c8293d6dade6acfba38f6c6b749eb7d2..c9a6dc9f172e056d5e29310a98ac87fe9857ec40 100644
(file)
--- a/
src/wx/timeline.cc
+++ b/
src/wx/timeline.cc
@@
-262,8
+262,8
@@
Timeline::recreate_views ()
_views.push_back (shared_ptr<TimelineView> (new TimelineTextContentView (*this, i, j)));
}
- if (
dynamic_pointer_cast<AtmosMXFContent> (i)
) {
- _views.push_back (shared_ptr<TimelineView>
(new TimelineAtmosContentView
(*this, i)));
+ if (
i->atmos
) {
+ _views.push_back (shared_ptr<TimelineView>
(new TimelineAtmosContentView
(*this, i)));
}
}