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

*** empty log message ***

parent 4bc04624
Branches
Tags
No related merge requests found
......@@ -14,8 +14,6 @@
#include "DILevelset.h"
#include "mathEvaluator.h"
#include "PView.h"
#include "OctreePost.h"
class gLevelsetMathEval: public gLevelsetPrimitive
{
......@@ -43,6 +41,11 @@ public:
int type() const { return UNKNOWN; }
};
#if !defined(HAVE_NO_POST)
#include "PView.h"
#include "OctreePost.h"
class gLevelsetPostView : public gLevelsetPrimitive
{
int _viewIndex;
......@@ -73,3 +76,5 @@ public:
#endif
#endif
#endif
This diff is collapsed.
......@@ -1922,6 +1922,7 @@ LevelSet :
Tree_Add(GModel::current()->getGEOInternals()->LevelSets, &l);
}
}
#if !defined(HAVE_NO_POST)
else if(!strcmp($2, "PostView")){
int t = (int)$4;
if(FindLevelSet(t)){
......@@ -1936,6 +1937,7 @@ LevelSet :
}
}
}
#endif
else
yymsg(0, "Wrong levelset definition (%d)", $4);
Free($2);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment