From: Paul RASCLE Date: Tue, 8 Mar 2016 10:41:15 +0000 (+0100) Subject: general crack dialog, error in hexa detection X-Git-Tag: V7_8_0a2~8 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=635cfb4d85f0a2a39d809381ebfe3fc88f0b10b2 general crack dialog, error in hexa detection --- diff --git a/src/Tools/blocFissure/gmu/peauInterne.py b/src/Tools/blocFissure/gmu/peauInterne.py index ae6870c88..6e6915966 100644 --- a/src/Tools/blocFissure/gmu/peauInterne.py +++ b/src/Tools/blocFissure/gmu/peauInterne.py @@ -52,7 +52,7 @@ def peauInterne(fichierMaillage, shapeDefaut, nomZones): for i in keys: #print " %s : %d" % ( i, info[i] ) nbelem+=info[i] - if i == "Entity_Hexa": + if "Entity_Hexa" in str(i): nbhexa+=info[i] if (nbelem == 0) or (nbhexa < nbelem) : texte = "La zone a remailler est incorrecte.
"