mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30:35 +05:00
Bug IPAL19581 REGR: Fatal error SIGSEGV on validation "Selection filter library"
This commit is contained in:
parent
b9f577609d
commit
d408364886
@ -2060,13 +2060,13 @@ CORBA::Boolean Filter_i::SetCriteria( const SMESH::Filter::Criteria& theCriteria
|
||||
TPythonDump pd;
|
||||
pd << "aCriterion = SMESH.Filter.Criterion(" << aCriterion << "," << aCompare
|
||||
<< "," << aThreshold << ",'" << aThresholdStr;
|
||||
if (strlen(aThresholdID) > 0)
|
||||
pd << "',salome.ObjectToID(" << aThresholdID
|
||||
<< ")," << aUnary << "," << aBinary << "," << aTolerance
|
||||
<< "," << aTypeOfElem << "," << aPrecision << ")";
|
||||
if (aThresholdID)
|
||||
pd << "',salome.ObjectToID(" << aThresholdID
|
||||
<< ")," << aUnary << "," << aBinary << "," << aTolerance
|
||||
<< "," << aTypeOfElem << "," << aPrecision << ")";
|
||||
else
|
||||
pd << "',''," << aUnary << "," << aBinary << "," << aTolerance
|
||||
<< "," << aTypeOfElem << "," << aPrecision << ")";
|
||||
pd << "',''," << aUnary << "," << aBinary << "," << aTolerance
|
||||
<< "," << aTypeOfElem << "," << aPrecision << ")";
|
||||
}
|
||||
|
||||
SMESH::Predicate_ptr aPredicate = SMESH::Predicate::_nil();
|
||||
|
Loading…
Reference in New Issue
Block a user