From: eap Date: Mon, 23 Apr 2018 11:03:45 +0000 (+0300) Subject: 23549: [EDF] PIGUI: Script with dumped study uses undefined filters in GroupOnFilter. X-Git-Tag: V8_5_0rc1^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0d2a99217899302358177738b7a5726d87f15ab2;p=modules%2Fsmesh.git 23549: [EDF] PIGUI: Script with dumped study uses undefined filters in GroupOnFilter. --- diff --git a/src/SMESH_I/SMESH_2smeshpy.cxx b/src/SMESH_I/SMESH_2smeshpy.cxx index 75c976650..b0d415b41 100644 --- a/src/SMESH_I/SMESH_2smeshpy.cxx +++ b/src/SMESH_I/SMESH_2smeshpy.cxx @@ -5130,7 +5130,7 @@ int _pyStringFamily::isIn( const char* str ) if (( len = itSub->isIn( str + itSub->_prefix.Length() )) >= 0 ) return itSub->_prefix.Length() + len; } - else if ( cmp > 0 ) + else if ( cmp < 0 ) break; } if ( !_strings.empty() )