Skip to content
Snippets Groups Projects
Commit b2b4ea8b authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

cleanup

parent eb382628
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include "OS.h" #include "OS.h"
#include "GmshSocket.h" #include "GmshSocket.h"
#include "PView.h" #include "PView.h"
#include "PViewOptions.h"
#include "VertexArray.h" #include "VertexArray.h"
int GmshDaemon(std::string socket) int GmshDaemon(std::string socket)
...@@ -49,6 +50,7 @@ int GmshDaemon(std::string socket) ...@@ -49,6 +50,7 @@ int GmshDaemon(std::string socket)
// create and send a vertex array // create and send a vertex array
if(PView::list.size()){ if(PView::list.size()){
PView *view = PView::list[0]; PView *view = PView::list[0];
view->getOptions()->intervalsType = PViewOptions::Iso;
view->fillVertexArrays(); view->fillVertexArrays();
int len; int len;
char *ss = view->va_triangles->toChar(view->getNum(), len); char *ss = view->va_triangles->toChar(view->getNum(), len);
......
...@@ -193,6 +193,7 @@ void GmshRemote::run(std::string args) ...@@ -193,6 +193,7 @@ void GmshRemote::run(std::string args)
break; break;
case GmshSocket::GMSH_VERTEX_ARRAY: case GmshSocket::GMSH_VERTEX_ARRAY:
PView::fillVertexArray(length, message); PView::fillVertexArray(length, message);
drawContext::global()->draw();
break; break;
default: default:
Msg::Warning("Unknown message type"); Msg::Warning("Unknown message type");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment