summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-08-20 12:00:29 +0100
committerCarl Hetherington <cth@carlh.net>2018-08-20 12:00:29 +0100
commitd44428eeda4c15bcd7c051681292c4dca2696e09 (patch)
treed4253a8abd68c76fc891becffe805d12aa48cb82 /src
parent9d045fa4e19d6b9a3f2ffcd67a5b69de823595e6 (diff)
Fix 3D crash.
Diffstat (limited to 'src')
-rw-r--r--src/wx/film_viewer.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc
index a5e1577fe..76e269975 100644
--- a/src/wx/film_viewer.cc
+++ b/src/wx/film_viewer.cc
@@ -296,6 +296,7 @@ FilmViewer::get ()
do {
_player_video = _butler->get_video ();
} while (
+ _player_video.first &&
_film->three_d() &&
((_eye->GetSelection() == 0 && _player_video.first->eyes() == EYES_RIGHT) || (_eye->GetSelection() == 1 && _player_video.first->eyes() == EYES_LEFT))
);