mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-28 14:00:33 +05:00
PAL12227. Correct DumpPython of SetCriteria(): add missing arg
This commit is contained in:
parent
a09602fef0
commit
355456262e
@ -1998,16 +1998,16 @@ CORBA::Boolean Filter_i::SetCriteria( const SMESH::Filter::Criteria& theCriteria
|
|||||||
int aCriterion = theCriteria[ i ].Type;
|
int aCriterion = theCriteria[ i ].Type;
|
||||||
int aCompare = theCriteria[ i ].Compare;
|
int aCompare = theCriteria[ i ].Compare;
|
||||||
double aThreshold = theCriteria[ i ].Threshold;
|
double aThreshold = theCriteria[ i ].Threshold;
|
||||||
|
const char* aThresholdStr = theCriteria[ i ].ThresholdStr;
|
||||||
|
const char* aThresholdID = theCriteria[ i ].ThresholdID;
|
||||||
int aUnary = theCriteria[ i ].UnaryOp;
|
int aUnary = theCriteria[ i ].UnaryOp;
|
||||||
int aBinary = theCriteria[ i ].BinaryOp;
|
int aBinary = theCriteria[ i ].BinaryOp;
|
||||||
double aTolerance = theCriteria[ i ].Tolerance;
|
double aTolerance = theCriteria[ i ].Tolerance;
|
||||||
const char* aThresholdStr = theCriteria[ i ].ThresholdStr;
|
|
||||||
const char* aThresholdID = theCriteria[ i ].ThresholdID;
|
|
||||||
ElementType aTypeOfElem = theCriteria[ i ].TypeOfElement;
|
ElementType aTypeOfElem = theCriteria[ i ].TypeOfElement;
|
||||||
long aPrecision = theCriteria[ i ].Precision;
|
long aPrecision = theCriteria[ i ].Precision;
|
||||||
|
|
||||||
TPythonDump()<<"aCriteria.append(SMESH.Filter.Criterion("<<
|
TPythonDump()<<"aCriteria.append(SMESH.Filter.Criterion("<<
|
||||||
aCriterion<<","<<aCompare<<","<<aThreshold<<",'"<<aThresholdStr<<"',"<<
|
aCriterion<<","<<aCompare<<","<<aThreshold<<",'"<<aThresholdStr<<"','"<<aThresholdID<<"',"<<
|
||||||
aUnary<<","<<aBinary<<","<<aTolerance<<","<<aTypeOfElem<<","<<aPrecision<<"))";
|
aUnary<<","<<aBinary<<","<<aTolerance<<","<<aTypeOfElem<<","<<aPrecision<<"))";
|
||||||
|
|
||||||
SMESH::Predicate_ptr aPredicate = SMESH::Predicate::_nil();
|
SMESH::Predicate_ptr aPredicate = SMESH::Predicate::_nil();
|
||||||
|
Loading…
Reference in New Issue
Block a user