From ab0572940a10afb437830f3993a9360e1eca8b54 Mon Sep 17 00:00:00 2001 From: adv Date: Mon, 9 Sep 2013 10:25:27 +0000 Subject: [PATCH] "SetName()" is missed for python script. --- src/HYDROData/HYDROData_Bathymetry.cxx | 2 ++ 1 file changed, 2 insertions(+) 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() ) -- 2.39.2