]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Fix: Regions and zones should not be red in the browser.
authorrkv <rkv@opencascade.com>
Thu, 31 Oct 2013 08:25:56 +0000 (08:25 +0000)
committerrkv <rkv@opencascade.com>
Thu, 31 Oct 2013 08:25:56 +0000 (08:25 +0000)
src/HYDROGUI/HYDROGUI_DataModel.cxx

index 8196df50b23e9ef69649682a880defa81670a9f3..a1be099ce1118ca1e55b9c4639e954928ab23c8b 100644 (file)
@@ -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 );
     }
   }
 }