Bug IPAL19581 REGR: Fatal error SIGSEGV on validation "Selection filter library"

This commit is contained in:
dmv 2008-06-26 12:54:23 +00:00
parent b9f577609d
commit d408364886

View File

@ -2060,7 +2060,7 @@ CORBA::Boolean Filter_i::SetCriteria( const SMESH::Filter::Criteria& theCriteria
TPythonDump pd; TPythonDump pd;
pd << "aCriterion = SMESH.Filter.Criterion(" << aCriterion << "," << aCompare pd << "aCriterion = SMESH.Filter.Criterion(" << aCriterion << "," << aCompare
<< "," << aThreshold << ",'" << aThresholdStr; << "," << aThreshold << ",'" << aThresholdStr;
if (strlen(aThresholdID) > 0) if (aThresholdID)
pd << "',salome.ObjectToID(" << aThresholdID pd << "',salome.ObjectToID(" << aThresholdID
<< ")," << aUnary << "," << aBinary << "," << aTolerance << ")," << aUnary << "," << aBinary << "," << aTolerance
<< "," << aTypeOfElem << "," << aPrecision << ")"; << "," << aTypeOfElem << "," << aPrecision << ")";