Skip to content
Snippets Groups Projects
Commit 8a5fe77a authored by Matti Pellika's avatar Matti Pellika
Browse files

No commit message

No commit message
parent 2d9213f4
No related branches found
No related tags found
No related merge requests found
...@@ -501,15 +501,15 @@ void Chain<C>::addToModel(GModel* m, bool post, ...@@ -501,15 +501,15 @@ void Chain<C>::addToModel(GModel* m, bool post,
#if defined(HAVE_POST) #if defined(HAVE_POST)
if(post && CTX::instance()->batch == 0) { if(post && CTX::instance()->batch == 0) {
// create PView for instant visualization // create PView for instant visualization
std::string pnum = convertInt(physicalNum); //std::string pnum = convertInt(physicalNum);
std::string postname = pnum + ": " + _name; std::string postname = /*pnum + ": " +*/ _name;
PView* view = new PView(postname, "ElementData", m, data, 0, 1); PView* view = new PView(postname, "ElementData", m, data, 0, 1);
// the user should be interested about the orientations // the user should be interested about the orientations
/*int size = 30; int size = 30;
PViewOptions* opt = view->getOptions(); PViewOptions* opt = view->getOptions();
if(opt->tangents == 0) opt->tangents = size; if(opt->tangents == 0) opt->tangents = size;
if(opt->normals == 0) opt->normals = size; if(opt->normals == 0) opt->normals = size;
view->setOptions(opt);*/ view->setOptions(opt);
updateFltkTree(); updateFltkTree();
} }
#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