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

try to use adaptive data if available

parent 08d2b8aa
No related branches found
No related tags found
No related merge requests found
...@@ -62,8 +62,8 @@ PView *GMSH_WarpPlugin::execute(PView *v) ...@@ -62,8 +62,8 @@ PView *GMSH_WarpPlugin::execute(PView *v)
PView *v2 = getView(otherView, v); PView *v2 = getView(otherView, v);
if(!v2) return v; if(!v2) return v;
PViewData *data1 = v1->getData(); PViewData *data1 = getPossiblyAdaptiveData(v1);
PViewData *data2 = v2->getData(); PViewData *data2 = getPossiblyAdaptiveData(v2);
// sanity checks // sanity checks
if(data1->getNumEntities() != data2->getNumEntities() || if(data1->getNumEntities() != data2->getNumEntities() ||
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment