From b2b4ea8b775281ab614e33ad41f2624b82a7dd26 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Sun, 13 Sep 2009 18:49:17 +0000
Subject: [PATCH] cleanup

---
 Common/GmshDaemon.cpp | 2 ++
 Fltk/solverWindow.cpp | 1 +
 2 files changed, 3 insertions(+)

diff --git a/Common/GmshDaemon.cpp b/Common/GmshDaemon.cpp
index a78e6fbfdf..f96ac335a0 100644
--- a/Common/GmshDaemon.cpp
+++ b/Common/GmshDaemon.cpp
@@ -8,6 +8,7 @@
 #include "OS.h"
 #include "GmshSocket.h"
 #include "PView.h"
+#include "PViewOptions.h"
 #include "VertexArray.h"
 
 int GmshDaemon(std::string socket)
@@ -49,6 +50,7 @@ int GmshDaemon(std::string socket)
               // create and send a vertex array
               if(PView::list.size()){
                 PView *view = PView::list[0];
+                view->getOptions()->intervalsType = PViewOptions::Iso;
                 view->fillVertexArrays();
                 int len;
                 char *ss = view->va_triangles->toChar(view->getNum(), len);
diff --git a/Fltk/solverWindow.cpp b/Fltk/solverWindow.cpp
index d82d5e317a..22a2279673 100644
--- a/Fltk/solverWindow.cpp
+++ b/Fltk/solverWindow.cpp
@@ -193,6 +193,7 @@ void GmshRemote::run(std::string args)
           break;
         case GmshSocket::GMSH_VERTEX_ARRAY:
           PView::fillVertexArray(length, message);
+          drawContext::global()->draw();
           break;
         default:
           Msg::Warning("Unknown message type");
-- 
GitLab