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

pp

parent 029f4476
No related branches found
No related tags found
No related merge requests found
...@@ -708,7 +708,8 @@ int onelab_cb(std::string action) ...@@ -708,7 +708,8 @@ int onelab_cb(std::string action)
if(onelabUtils::runGmshClient(action, true)) if(onelabUtils::runGmshClient(action, true))
redraw = 1; redraw = 1;
if(redraw == 0 && !onelab::server::instance()->getChanged("GetDP"))continue; if(redraw == 0 && !onelab::server::instance()->getChanged("GetDP"))
continue;
std::vector<onelab::string> ps; std::vector<onelab::string> ps;
onelab::server::instance()->get(ps, "GetDP/1ModelName"); onelab::server::instance()->get(ps, "GetDP/1ModelName");
......
...@@ -19,14 +19,6 @@ ...@@ -19,14 +19,6 @@
#include "movePosition.h" #include "movePosition.h"
void drawArray(VertexArray *va, int type, bool useColorArray=false,
bool useNormalArray=false);
int onelab_cb(std::string);
int animation_next();
int animation_prev();
int number_of_animation();
void set_animation(int step);
class drawContext{ class drawContext{
private: private:
float _translate[3], _scale[3]; // current translation and scale float _translate[3], _scale[3]; // current translation and scale
...@@ -63,4 +55,12 @@ public: ...@@ -63,4 +55,12 @@ public:
void drawScale(); void drawScale();
}; };
void drawArray(VertexArray *va, int type, bool useColorArray=false,
bool useNormalArray=false);
int onelab_cb(std::string);
int animation_next();
int animation_prev();
int number_of_animation();
void set_animation(int step);
#endif #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment