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

fix bug when displaying Tag=ElementaryEntity for mesh vertices and when

drawing vertices per element
parent c4e06e04
No related branches found
No related tags found
No related merge requests found
...@@ -331,7 +331,7 @@ static void drawVerticesPerElement(drawContext *ctx, GEntity *e, ...@@ -331,7 +331,7 @@ static void drawVerticesPerElement(drawContext *ctx, GEntity *e,
} }
} }
if(CTX::instance()->mesh.pointsNum) if(CTX::instance()->mesh.pointsNum)
drawVertexLabel(ctx, e, v); drawVertexLabel(ctx, v->onWhat() ? v->onWhat() : e, v);
} }
} }
} }
......
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