From: eap Date: Fri, 4 Oct 2013 14:26:36 +0000 (+0000) Subject: ILMAB. Fix dump of "field.setStamp(step, stamp)" - invalid step is dumped X-Git-Tag: BR_hydro_v_0_3_1~107 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=37c62a48b4cc467265178d83d558a5a677edf6cf;p=modules%2Fgeom.git ILMAB. Fix dump of "field.setStamp(step, stamp)" - invalid step is dumped --- diff --git a/src/GEOM/GEOM_Field.cxx b/src/GEOM/GEOM_Field.cxx index 6b9338d77..b045b7297 100644 --- a/src/GEOM/GEOM_Field.cxx +++ b/src/GEOM/GEOM_Field.cxx @@ -580,7 +580,7 @@ void GEOM_FieldStep::SetStamp(const int stamp) data.SetStepStamp( stamp ); TPythonDump( fun ) << - GetField() << ".setStamp( " << data.GetStepID() << ", " << stamp << " )"; + GetField() << ".setStamp( " << GetID() << ", " << stamp << " )"; } } @@ -628,7 +628,7 @@ GEOM_FieldStep::getFunctionToSetValuesAndDump( const TCollection_AsciiString& va //======================================================================= //function : SetValues -//purpose : Sets int or bool values +//purpose : Set int or bool values //======================================================================= bool GEOM_FieldStep::SetValues( const Handle(TColStd_HArray1OfInteger)& values )