From 37c62a48b4cc467265178d83d558a5a677edf6cf Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 4 Oct 2013 14:26:36 +0000 Subject: [PATCH] ILMAB. Fix dump of "field.setStamp(step, stamp)" - invalid step is dumped --- src/GEOM/GEOM_Field.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) -- 2.39.2