diff --git a/Common/GmshDaemon.cpp b/Common/GmshDaemon.cpp index a78e6fbfdf0fb7496a482c942163113e15da711f..f96ac335a0a96e890697192dbf174e758b061521 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 d82d5e317a95cfe16f2fe324675b50a467c5288e..22a2279673e2364ee6cad0282b4f415157c9ed60 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");