From 889a769841ade216b5ce517390d7afb27bec5e93 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Wed, 18 Jul 2001 07:36:36 +0000 Subject: [PATCH] fixed missing screen refreshes during contour/surface selection --- Fltk/Callbacks.cpp | 3 ++- Graphics/Geom.cpp | 5 ++--- doc/VERSIONS | 5 +++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Fltk/Callbacks.cpp b/Fltk/Callbacks.cpp index bc006e3b18..0e33f58956 100644 --- a/Fltk/Callbacks.cpp +++ b/Fltk/Callbacks.cpp @@ -1,4 +1,4 @@ -// $Id: Callbacks.cpp,v 1.63 2001-06-26 16:47:23 geuzaine Exp $ +// $Id: Callbacks.cpp,v 1.64 2001-07-18 07:36:36 geuzaine Exp $ #include <sys/types.h> #include <signal.h> @@ -72,6 +72,7 @@ int SelectContour (int type, int num, List_T *Liste1){ } } + Draw();//added July 18 2001 to overcome missing refreshes... Is this OK ? List_Delete(Liste2); return k; } diff --git a/Graphics/Geom.cpp b/Graphics/Geom.cpp index 24ccad3669..08d189a2e8 100644 --- a/Graphics/Geom.cpp +++ b/Graphics/Geom.cpp @@ -1,4 +1,4 @@ -// $Id: Geom.cpp,v 1.22 2001-06-28 15:16:09 geuzaine Exp $ +// $Id: Geom.cpp,v 1.23 2001-07-18 07:36:36 geuzaine Exp $ #include "Gmsh.h" #include "GmshUI.h" @@ -879,7 +879,7 @@ void HighlightEntity(Vertex *v,Curve *c, Surface *s, int permanent){ else{ Msg(STATUS1N," "); } - + glFlush(); } @@ -908,6 +908,5 @@ void HighlightEntityNum(int v, int c, int s, int permanant){ HighlightEntity(NULL,NULL,ps,permanant); } } - glFlush(); } diff --git a/doc/VERSIONS b/doc/VERSIONS index 8561ebbd6b..4b9474d646 100644 --- a/doc/VERSIONS +++ b/doc/VERSIONS @@ -1,7 +1,8 @@ -$Id: VERSIONS,v 1.27 2001-07-08 15:45:48 geuzaine Exp $ +$Id: VERSIONS,v 1.28 2001-07-18 07:36:36 geuzaine Exp $ New in 1.21: Fixed more memory leaks; added -opt command line option -to parse definitions directly from the command line; +to parse definitions directly from the command line; fixed missing +screen refreshes during contour/surface selection; New in 1.20: Fixed various bugs (memory leaks, functions in included files, solver command selection, ColorTable option, duplicate nodes in -- GitLab