From: rkv Date: Thu, 31 Oct 2013 08:25:56 +0000 (+0000) Subject: Fix: Regions and zones should not be red in the browser. X-Git-Tag: BR_hydro_v_0_3~61 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0c3fbbc9e9f468fdf49ed86754cd026e22528eb2;p=modules%2Fhydro.git Fix: Regions and zones should not be red in the browser. --- diff --git a/src/HYDROGUI/HYDROGUI_DataModel.cxx b/src/HYDROGUI/HYDROGUI_DataModel.cxx index 8196df50..a1be099c 100644 --- a/src/HYDROGUI/HYDROGUI_DataModel.cxx +++ b/src/HYDROGUI/HYDROGUI_DataModel.cxx @@ -604,7 +604,7 @@ void HYDROGUI_DataModel::buildObjectTree( SUIT_DataObject* theParent, Handle(HYDROData_Region) aCaseRegion = Handle(HYDROData_Region)::DownCast( anIter.Value() ); if( !aCaseRegion.IsNull() && !aCaseRegion->IsRemoved() ) - createObject( aCaseRegionsSect, aCaseRegion, aGuiObj->entry(), true ); + createObject( aCaseRegionsSect, aCaseRegion, "", true ); } } else if ( anObjectKind == KIND_REGION ) @@ -619,7 +619,7 @@ void HYDROGUI_DataModel::buildObjectTree( SUIT_DataObject* theParent, Handle(HYDROData_Zone) aRegionZone = Handle(HYDROData_Zone)::DownCast( anIter.Value() ); if( !aRegionZone.IsNull() && !aRegionZone->IsRemoved() ) - createObject( aGuiObj, aRegionZone, aGuiObj->entry(), true ); + createObject( aGuiObj, aRegionZone, "", true ); } } }