mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-30 19: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;
|
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 << ")";
|
||||||
else
|
else
|
||||||
pd << "',''," << aUnary << "," << aBinary << "," << aTolerance
|
pd << "',''," << aUnary << "," << aBinary << "," << aTolerance
|
||||||
<< "," << aTypeOfElem << "," << aPrecision << ")";
|
<< "," << aTypeOfElem << "," << aPrecision << ")";
|
||||||
}
|
}
|
||||||
|
|
||||||
SMESH::Predicate_ptr aPredicate = SMESH::Predicate::_nil();
|
SMESH::Predicate_ptr aPredicate = SMESH::Predicate::_nil();
|
||||||
|
Loading…
Reference in New Issue
Block a user