From f652707cb9c8aa6e44453d307941b1fd501628b5 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 8 Dec 2000 13:12:18 +0000
Subject: [PATCH] Suppressed superfluous Draw()

---
 Unix/Main.cpp | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/Unix/Main.cpp b/Unix/Main.cpp
index b7663c518a..b0b7e1976d 100644
--- a/Unix/Main.cpp
+++ b/Unix/Main.cpp
@@ -1,4 +1,4 @@
-/* $Id: Main.cpp,v 1.24 2000-12-08 13:06:56 geuzaine Exp $ */
+/* $Id: Main.cpp,v 1.25 2000-12-08 13:12:18 geuzaine Exp $ */
 
 #include <signal.h>
 
@@ -853,6 +853,7 @@ int main(int argc, char *argv[]){
 
   /* The GUI is ready */
   CTX.interactive = 0 ; 
+  CTX.expose = 1 ;
 
   /* Say welcome! */
 
@@ -860,11 +861,6 @@ int main(int argc, char *argv[]){
   Msg(STATUS, "Ready");
   Msg(SELECT, "Gmsh %g", GMSH_VERSION);
 
-  /* Compute viewport and Draw empty scene */
-  CTX.expose = 1 ;
-  Init();
-  Draw();
-
   /* Open input file */
 
   OpenProblem(TheFileName);
-- 
GitLab