X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_VTKPrsShape.cxx;h=52969e5e353aacc4b71db07ffff442ff15dd02ea;hb=53641ec32e8a7e7d3afe059ef050e1c42d2c83b6;hp=6554e5ef5213314bec99f3dd133d7ccda950f54c;hpb=f7598de0de5abad3f557c8b2c52d0e0163a0951c;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_VTKPrsShape.cxx b/src/HYDROGUI/HYDROGUI_VTKPrsShape.cxx index 6554e5ef..52969e5e 100644 --- a/src/HYDROGUI/HYDROGUI_VTKPrsShape.cxx +++ b/src/HYDROGUI/HYDROGUI_VTKPrsShape.cxx @@ -192,8 +192,8 @@ void HYDROGUI_VTKPrsShape::buildShape() 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;