From: Renaud Barate Date: Thu, 25 Nov 2010 14:03:52 +0000 (+0000) Subject: Integrated fix from Isabelle Fournier X-Git-Tag: V5_1_5^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=97fa83c5331453ee4a6c54851f4314a963f7b885;p=modules%2Feficas.git Integrated fix from Isabelle Fournier --- diff --git a/src/EFICASGUI/eficasSalome.py b/src/EFICASGUI/eficasSalome.py index 4f1b732c..9ced2118 100644 --- a/src/EFICASGUI/eficasSalome.py +++ b/src/EFICASGUI/eficasSalome.py @@ -233,10 +233,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 - elif 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 + if kwType == "GROUP_MA" and str(tGeo) == "VERTEX": name, msgError = '', "la selection n est pas un groupe de maille" return name, msgError @@ -282,6 +282,7 @@ 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