From b94dd1e07aff2913ec90a957d8e3ee455eda413a Mon Sep 17 00:00:00 2001 From: Jiaming Guo Date: Fri, 30 Jun 2017 16:06:07 -0500 Subject: [PATCH] add render function for paper demonstration --- main.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cu b/main.cu index e8da3cd..8d8d0a3 100644 --- a/main.cu +++ b/main.cu @@ -309,7 +309,7 @@ void glut_render() { } // bring up a velocity bar on left - if (simulation && !to_select_pressure) { + if ((simulation || build_inlet_outlet) && !to_select_pressure && !change_fragment) { glMatrixMode(GL_PROJECTION); // set up the 2d viewport for mode text printing glPushMatrix(); -- libgit2 0.21.4