X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_VTKPrsShape.cxx;h=52969e5e353aacc4b71db07ffff442ff15dd02ea;hb=6dd1807886655d96b021fbfb6ba736d79d49a492;hp=5d152ea5de908ae1e658e085875f617948a40033;hpb=f0688b4c39fcc3e49c2b58a90724b9c1c84f1337;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_VTKPrsShape.cxx b/src/HYDROGUI/HYDROGUI_VTKPrsShape.cxx index 5d152ea5..52969e5e 100644 --- a/src/HYDROGUI/HYDROGUI_VTKPrsShape.cxx +++ b/src/HYDROGUI/HYDROGUI_VTKPrsShape.cxx @@ -186,14 +186,14 @@ void HYDROGUI_VTKPrsShape::buildShape() else { // Generate the filling color for zone - QStringList aGeomObjectsNames; + QStringList anObjectsNames; - HYDROData_SequenceOfObjects aRefObjects = aZone->GetGeometryObjects(); + HYDROData_SequenceOfObjects aRefObjects = aZone->GetObjects(); HYDROData_SequenceOfObjects::Iterator anIter( aRefObjects ); for ( ; anIter.More(); anIter.Next() ) { - Handle(HYDROData_Object) aRefbject = - Handle(HYDROData_Object)::DownCast( anIter.Value() ); + Handle(HYDROData_Entity) aRefbject = + Handle(HYDROData_Entity)::DownCast( anIter.Value() ); if ( aRefbject.IsNull() ) continue; @@ -201,7 +201,7 @@ void HYDROGUI_VTKPrsShape::buildShape() if ( aRefObjectName.isEmpty() ) continue; - aGeomObjectsNames.append( aRefObjectName ); + anObjectsNames.append( aRefObjectName ); } //setFillingColor( HYDROGUI_Tool::GenerateFillingColor( aDocument, aGeomObjectsNames ) );