From: adv Date: Mon, 9 Sep 2013 10:25:27 +0000 (+0000) Subject: "SetName()" is missed for python script. X-Git-Tag: BR_hydro_v_0_1~53 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ab0572940a10afb437830f3993a9360e1eca8b54;p=modules%2Fhydro.git "SetName()" is missed for python script. --- diff --git a/src/HYDROData/HYDROData_Bathymetry.cxx b/src/HYDROData/HYDROData_Bathymetry.cxx index 9b9265d0..fbe2dc31 100644 --- a/src/HYDROData/HYDROData_Bathymetry.cxx +++ b/src/HYDROData/HYDROData_Bathymetry.cxx @@ -43,6 +43,8 @@ QStringList HYDROData_Bathymetry::DumpToPython( MapOfTreatedObjects& theTreatedO aResList << QString( "%1 = %2.CreateObject( %3 );" ) .arg( aBathymetryName ).arg( aDocName ).arg( PYTHON_BATHYMETRY_ID ); + aResList << QString( "%1.SetName( \"%2\" );" ) + .arg( aBathymetryName ).arg( aBathymetryName ); QString aFilePath = GetFilePath(); if ( !aFilePath.isEmpty() )