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

fix crash

parent 4cc51125
Branches
Tags
No related merge requests found
...@@ -2137,7 +2137,7 @@ void _relocateVertex(GFace *gf, MVertex *ver, ...@@ -2137,7 +2137,7 @@ void _relocateVertex(GFace *gf, MVertex *ver,
if(ver->onWhat()->dim() != 2) return; if(ver->onWhat()->dim() != 2) return;
MFaceVertex *fv = dynamic_cast<MFaceVertex*>(ver); MFaceVertex *fv = dynamic_cast<MFaceVertex*>(ver);
if(fv->bl_data) return; if(fv && fv->bl_data) return;
double initu,initv; double initu,initv;
ver->getParameter(0, initu); ver->getParameter(0, initu);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment