From: prascle Date: Thu, 11 Apr 2013 08:53:12 +0000 (+0000) Subject: PR: update comments in dump function: smesh instead of smesh.smesh X-Git-Tag: V7_2_0rc1~20 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=9c186f8150953b6525f114283a35635bac585dbf PR: update comments in dump function: smesh instead of smesh.smesh --- diff --git a/src/SMESH_I/SMESH_2smeshpy.cxx b/src/SMESH_I/SMESH_2smeshpy.cxx index 9994f8f8a..cabe36237 100644 --- a/src/SMESH_I/SMESH_2smeshpy.cxx +++ b/src/SMESH_I/SMESH_2smeshpy.cxx @@ -929,7 +929,7 @@ void _pyGen::Process( const Handle(_pyCommand)& theCommand ) // smeshgen.Method() --> smesh.Method() theCommand->SetObject( SMESH_2smeshpy::SmeshpyName() ); else - // smeshgen.Method() --> smesh.smesh.Method() + // smeshgen.Method() --> smesh.Method() theCommand->SetObject( SMESH_2smeshpy::GenName() ); } @@ -982,7 +982,7 @@ void _pyGen::Flush() for ( hyp = myHypos.begin(); hyp != myHypos.end(); ++hyp ) if ( !hyp->IsNull() ) { (*hyp)->Flush(); - // smeshgen.CreateHypothesis() --> smesh.smesh.CreateHypothesis() + // smeshgen.CreateHypothesis() --> smesh.CreateHypothesis() if ( !(*hyp)->IsWrapped() ) (*hyp)->GetCreationCmd()->SetObject( SMESH_2smeshpy::GenName() ); } @@ -3316,7 +3316,7 @@ const TCollection_AsciiString & _pyCommand::GetObject() } myObj = GetWord( myString, begPos, true ); // check if object is complex, - // so far consider case like "smesh.smesh.Method()" + // so far consider case like "smesh.Method()" if ( int bracketPos = myString.Location( "(", begPos, Length() )) { //if ( bracketPos==0 ) bracketPos = Length(); int dotPos = begPos+myObj.Length();