From: Pascale Noyret Date: Fri, 8 Oct 2010 14:59:25 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V5_1_5~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=18d216f591e0d666d8da8a3706c1515757017515;p=tools%2Feficas.git *** empty log message *** --- diff --git a/src/EFICASGUI/eficasSalome.py b/src/EFICASGUI/eficasSalome.py index 0b74c113..09407641 100644 --- a/src/EFICASGUI/eficasSalome.py +++ b/src/EFICASGUI/eficasSalome.py @@ -230,10 +230,10 @@ class MyEficas( qtEficas.Appli ): tGeo=self.ChercheType(shape) if not tGeo : return name, msgError - #if kwType == "GROUP_NO" and str(tGeo) != "VERTEX": - # name,msgError = '',"la selection n est pas un Vertex" - # return name, msgError - if kwType == "GROUP_MA" and str(tGeo) == "VERTEX": + if kwType == "GROUP_NO" and str(tGeo) != "VERTEX": + name,msgError = '',"la selection n est pas un Vertex" + return name, msgError + elif kwType == "GROUP_MA" and str(tGeo) == "VERTEX": name, msgError = '', "la selection n est pas un groupe de maille" return name, msgError @@ -279,7 +279,6 @@ class MyEficas( qtEficas.Appli ): if kwType == "GROUP_NO" and tGroup != SMESH.NODE: msgError = "GROUP_NO attend un groupe de noeud" - return name, msgError elif kwType == "GROUP_MA" and tGroup == SMESH.NODE: msgError = "GROUP_MA attend un point goupe de maille" return name, msgError