]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Temporary solution for bug 109. Will be rolled back when obstacles will be implented...
authoradv <adv@opencascade.com>
Thu, 21 Nov 2013 13:55:02 +0000 (13:55 +0000)
committeradv <adv@opencascade.com>
Thu, 21 Nov 2013 13:55:02 +0000 (13:55 +0000)
src/HYDROGUI/HYDROGUI_CalculationOp.cxx

index 8e3e404f574236a7a5820a9283430fbc1974b728..192e5559f87a367eca823cc29b4ea7457e615956 100644 (file)
@@ -154,7 +154,9 @@ void HYDROGUI_CalculationOp::getNamesAndEntries( const HYDROData_SequenceOfObjec
     anEntity = anIter.Value();
     if ( !anEntity.IsNull() )
     {
-      anObject = Handle(HYDROData_Object)::DownCast( anEntity );
+      // Temporary solution will be revised later
+      //anObject = Handle(HYDROData_Object)::DownCast( anEntity );
+      anObject = Handle(HYDROData_ImmersibleZone)::DownCast( anEntity );
       if ( !anObject.IsNull() )
       {
         theNames.append( anObject->GetName() );