From 743619a33d78d5de7b895b5e5c3c38e8de53b3ac Mon Sep 17 00:00:00 2001 From: Amaury Johnen <amaury.johnen@uclouvain.be> Date: Wed, 20 Sep 2017 13:51:10 +0200 Subject: [PATCH] fix bug visualization --- Geo/MHexahedron.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Geo/MHexahedron.cpp b/Geo/MHexahedron.cpp index 458be4e825..c7075e7717 100644 --- a/Geo/MHexahedron.cpp +++ b/Geo/MHexahedron.cpp @@ -413,6 +413,7 @@ int MHexahedronN::getNumFacesRep(bool curved) int MHexahedron::getNumFacesRep(bool curved) { + if (CTX::instance()->mesh.numSubEdges == 1) return 24; return 6 * (CTX::instance()->mesh.numSubEdges * CTX::instance()->mesh.numSubEdges * 2); } -- GitLab