From e775426bbd4e618074cd7e39878ad11ab0478666 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@uliege.be> Date: Sat, 11 Jun 2022 17:49:24 +0200 Subject: [PATCH] explicit Draw; in .geo should not be rate limited (cf. #1962) --- src/parser/Gmsh.tab.cpp | 2 +- src/parser/Gmsh.y | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/parser/Gmsh.tab.cpp b/src/parser/Gmsh.tab.cpp index 31c3daeaa3..fb4b9d1372 100644 --- a/src/parser/Gmsh.tab.cpp +++ b/src/parser/Gmsh.tab.cpp @@ -10936,7 +10936,7 @@ yyreduce: #line 3631 "Gmsh.y" { #if defined(HAVE_OPENGL) - drawContext::global()->draw(); + drawContext::global()->draw(false); // not rate limited #endif ;} break; diff --git a/src/parser/Gmsh.y b/src/parser/Gmsh.y index cf94ce50ce..b4f6e449b8 100644 --- a/src/parser/Gmsh.y +++ b/src/parser/Gmsh.y @@ -3630,7 +3630,7 @@ Command : | tDraw tEND { #if defined(HAVE_OPENGL) - drawContext::global()->draw(); + drawContext::global()->draw(false); // not rate limited #endif } | tSetChanged tEND -- GitLab