From: adv Date: Thu, 31 Oct 2013 08:39:32 +0000 (+0000) Subject: Undefined merge bathymetries type added for zones. X-Git-Tag: BR_hydro_v_0_3~60 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3bf1f41d27a5903c25dca2d54d844c53760e6133;p=modules%2Fhydro.git Undefined merge bathymetries type added for zones. --- diff --git a/src/HYDROData/HYDROData_Zone.cxx b/src/HYDROData/HYDROData_Zone.cxx index 2000af76..2e8e58dd 100644 --- a/src/HYDROData/HYDROData_Zone.cxx +++ b/src/HYDROData/HYDROData_Zone.cxx @@ -87,7 +87,7 @@ void HYDROData_Zone::SetMergeType( const MergeBathymetriesType& theType ) HYDROData_Zone::MergeBathymetriesType HYDROData_Zone::GetMergeType() const { - MergeBathymetriesType aMergeType = Merge_ZMIN; + MergeBathymetriesType aMergeType = Merge_UNKNOWN; Handle(TDataStd_Integer) anInt; if ( myLab.FindChild( DataTag_MergeType ).FindAttribute( TDataStd_Integer::GetID(), anInt ) ) diff --git a/src/HYDROData/HYDROData_Zone.h b/src/HYDROData/HYDROData_Zone.h index eddee171..a0c4279c 100644 --- a/src/HYDROData/HYDROData_Zone.h +++ b/src/HYDROData/HYDROData_Zone.h @@ -22,9 +22,10 @@ public: // Enumeration of mergin types for conflict bathymetries enum MergeBathymetriesType { - Merge_ZMIN, // The minimum values - Merge_ZMAX, // The maximum values - Merge_Object // Only one bathymetry will be taken into account + Merge_UNKNOWN, // Undefined + Merge_ZMIN, // The minimum values + Merge_ZMAX, // The maximum values + Merge_Object // Only one bathymetry will be taken into account }; protected: @@ -67,7 +68,7 @@ public: /** * Sets the merging type for conflict bathymetries. - * By default it is set to Merge_ZMIN. + * By default it is set to Merge_UNKNOWN. */ HYDRODATA_EXPORT virtual void SetMergeType( const MergeBathymetriesType& theType );