diff --git a/python/browser.py b/python/browser.py index b05349c9..8c6bca24 100644 --- a/python/browser.py +++ b/python/browser.py @@ -752,12 +752,13 @@ def dirichlet_help(self): def horoball_help(self): self.horoball_viewer.widget.help() - def test(self): + def test(self, use_modernopengl=True): self.update_idletasks() print('Testing browser') self.after(1000, self.notebook.select, self.dirichlet_viewer) self.after(2500, self.notebook.select, self.horoball_viewer) - self.after(4000, self.notebook.select, self.inside_view) + if use_modernopengl: + self.after(4000, self.notebook.select, self.inside_view) if self.link_tab: self.after(5500, self.notebook.select, self.link_tab.canvas) self.after(7000, self.close) diff --git a/python/test.py b/python/test.py index cbbdca58..3fd44474 100644 --- a/python/test.py +++ b/python/test.py @@ -146,7 +146,7 @@ def graphics_failures(verbose, windows, use_modernopengl): snappy.Manifold('m125').cusp_neighborhood().view().test() if use_modernopengl: snappy.Manifold('m004').inside_view().test() - snappy.Manifold('4_1').browse().test() + snappy.Manifold('4_1').browse().test(use_modernopengl=use_modernopengl) snappy.ManifoldHP('m004').dirichlet_domain().view().test() snappy.ManifoldHP('m125').cusp_neighborhood().view().test() if use_modernopengl: