From 8134b3903d620f83fff708f48558d7d2ac2d0af7 Mon Sep 17 00:00:00 2001 From: Matthias Goerner <1239022+unhyperbolic@users.noreply.github.com> Date: Tue, 2 Apr 2024 12:43:31 -0700 Subject: [PATCH] test with --skip-modern-opengl: forwarding the flag to the browser test so that the browser doesn't show the inside view. --- python/browser.py | 5 +++-- python/test.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/python/browser.py b/python/browser.py index b05349c97..8c6bca24e 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 cbbdca589..3fd44474a 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: