From 25eea38e1979da563571d4ea56611b3c31c027ef Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Wed, 24 Feb 2010 11:39:32 +0000 Subject: [PATCH] fix bug when displaying Tag=ElementaryEntity for mesh vertices and when drawing vertices per element --- Graphics/drawMesh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Graphics/drawMesh.cpp b/Graphics/drawMesh.cpp index 6846f727fc..2855e4dd8d 100644 --- a/Graphics/drawMesh.cpp +++ b/Graphics/drawMesh.cpp @@ -331,7 +331,7 @@ static void drawVerticesPerElement(drawContext *ctx, GEntity *e, } } if(CTX::instance()->mesh.pointsNum) - drawVertexLabel(ctx, e, v); + drawVertexLabel(ctx, v->onWhat() ? v->onWhat() : e, v); } } } -- GitLab