From 18d216f591e0d666d8da8a3706c1515757017515 Mon Sep 17 00:00:00 2001 From: Pascale Noyret Date: Fri, 8 Oct 2010 14:59:25 +0000 Subject: [PATCH] *** empty log message *** --- src/EFICASGUI/eficasSalome.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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 -- 2.39.2