From 97fa83c5331453ee4a6c54851f4314a963f7b885 Mon Sep 17 00:00:00 2001 From: Renaud Barate Date: Thu, 25 Nov 2010 14:03:52 +0000 Subject: [PATCH] Integrated fix from Isabelle Fournier --- src/EFICASGUI/eficasSalome.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 -- 2.39.2