From: adv Date: Thu, 21 Nov 2013 13:55:02 +0000 (+0000) Subject: Temporary solution for bug 109. Will be rolled back when obstacles will be implented... X-Git-Tag: BR_hydro_v_0_3_1~20 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c0cd41d50ca52fe058cb68ebc9ff839eb4400e04;p=modules%2Fhydro.git Temporary solution for bug 109. Will be rolled back when obstacles will be implented fully. --- diff --git a/src/HYDROGUI/HYDROGUI_CalculationOp.cxx b/src/HYDROGUI/HYDROGUI_CalculationOp.cxx index 8e3e404f..192e5559 100644 --- a/src/HYDROGUI/HYDROGUI_CalculationOp.cxx +++ b/src/HYDROGUI/HYDROGUI_CalculationOp.cxx @@ -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() );