ILMAB. Fix dump of "field.setStamp(step, stamp)" - invalid step is dumped

This commit is contained in:
eap 2013-10-04 14:26:36 +00:00
parent 4e2d22a173
commit 37c62a48b4

View File

@ -580,7 +580,7 @@ void GEOM_FieldStep::SetStamp(const int stamp)
data.SetStepStamp( stamp ); data.SetStepStamp( stamp );
TPythonDump( fun ) << TPythonDump( fun ) <<
GetField() << ".setStamp( " << data.GetStepID() << ", " << stamp << " )"; GetField() << ".setStamp( " << GetID() << ", " << stamp << " )";
} }
} }
@ -628,7 +628,7 @@ GEOM_FieldStep::getFunctionToSetValuesAndDump( const TCollection_AsciiString& va
//======================================================================= //=======================================================================
//function : SetValues //function : SetValues
//purpose : Sets int or bool values //purpose : Set int or bool values
//======================================================================= //=======================================================================
bool GEOM_FieldStep::SetValues( const Handle(TColStd_HArray1OfInteger)& values ) bool GEOM_FieldStep::SetValues( const Handle(TColStd_HArray1OfInteger)& values )