From: eap Date: Tue, 25 Apr 2006 06:31:53 +0000 (+0000) Subject: PAL12227. Correct DumpPython of SetCriteria(): add missing arg X-Git-Tag: T3_2_0b1_pre1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=355456262e3313ce18de4c1aa7f5f8bcdfea8666;p=modules%2Fsmesh.git PAL12227. Correct DumpPython of SetCriteria(): add missing arg --- diff --git a/src/SMESH_I/SMESH_Filter_i.cxx b/src/SMESH_I/SMESH_Filter_i.cxx index 3691e881c..909c69baa 100644 --- a/src/SMESH_I/SMESH_Filter_i.cxx +++ b/src/SMESH_I/SMESH_Filter_i.cxx @@ -1998,16 +1998,16 @@ CORBA::Boolean Filter_i::SetCriteria( const SMESH::Filter::Criteria& theCriteria int aCriterion = theCriteria[ i ].Type; int aCompare = theCriteria[ i ].Compare; double aThreshold = theCriteria[ i ].Threshold; + const char* aThresholdStr = theCriteria[ i ].ThresholdStr; + const char* aThresholdID = theCriteria[ i ].ThresholdID; int aUnary = theCriteria[ i ].UnaryOp; int aBinary = theCriteria[ i ].BinaryOp; double aTolerance = theCriteria[ i ].Tolerance; - const char* aThresholdStr = theCriteria[ i ].ThresholdStr; - const char* aThresholdID = theCriteria[ i ].ThresholdID; ElementType aTypeOfElem = theCriteria[ i ].TypeOfElement; long aPrecision = theCriteria[ i ].Precision; TPythonDump()<<"aCriteria.append(SMESH.Filter.Criterion("<< - aCriterion<<","<