From ec737b6418f2bfd9a5e09c86f4ad96cee0e9897e Mon Sep 17 00:00:00 2001 From: Jiaming Guo Date: Tue, 15 Aug 2017 11:39:49 -0500 Subject: [PATCH] fixed scaling bugs --- main.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cu b/main.cu index 02a560c..795c331 100644 --- a/main.cu +++ b/main.cu @@ -834,7 +834,7 @@ void glut_wheel(int wheel, int direction, int x, int y) { GLdouble posX, posY, posZ; window_to_world(posX, posY, posZ); // get the world coordinates - if (!to_select_pressure) { + if (!to_select_pressure && (simulation || build_inlet_outlet) && !manufacture) { bool flag = flow.epsilon_vertex((float)posX, (float)posY, (float)posZ, eps, scale, pressure_index); if (flag && simulation && !glyph_mode) { float tmp_r; -- libgit2 0.21.4