Commit b94dd1e07aff2913ec90a957d8e3ee455eda413a

Authored by Jiaming Guo
1 parent 6ea69c93

add render function for paper demonstration

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
... ... @@ -309,7 +309,7 @@ void glut_render() {
309 309 }
310 310  
311 311 // bring up a velocity bar on left
312   - if (simulation && !to_select_pressure) {
  312 + if ((simulation || build_inlet_outlet) && !to_select_pressure && !change_fragment) {
313 313  
314 314 glMatrixMode(GL_PROJECTION); // set up the 2d viewport for mode text printing
315 315 glPushMatrix();
... ...