X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_PrsZoneDriver.cxx;h=ef2e4e2659aad65f5b8df994600f4faf8217ca36;hb=81c9f5cdf82909d0aebd2c491c50fa7516cc80b7;hp=5edfaa1d605e37385440a8d6cbc600003944e2c8;hpb=38afdfd781e77ef1d5135bed210c8ebd4b60f34f;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_PrsZoneDriver.cxx b/src/HYDROGUI/HYDROGUI_PrsZoneDriver.cxx index 5edfaa1d..ef2e4e26 100644 --- a/src/HYDROGUI/HYDROGUI_PrsZoneDriver.cxx +++ b/src/HYDROGUI/HYDROGUI_PrsZoneDriver.cxx @@ -24,7 +24,7 @@ #include "HYDROGUI_PrsZone.h" -#include +#include HYDROGUI_PrsZoneDriver::HYDROGUI_PrsZoneDriver() :HYDROGUI_PrsDriver() @@ -35,7 +35,7 @@ HYDROGUI_PrsZoneDriver::~HYDROGUI_PrsZoneDriver() { } -bool HYDROGUI_PrsZoneDriver::Update( const Handle(HYDROData_Object)& theObj, +bool HYDROGUI_PrsZoneDriver::Update( const Handle(HYDROData_Entity)& theObj, HYDROGUI_Prs*& thePrs ) { HYDROGUI_PrsDriver::Update( theObj, thePrs ); @@ -43,7 +43,8 @@ bool HYDROGUI_PrsZoneDriver::Update( const Handle(HYDROData_Object)& theObj, if ( theObj.IsNull() ) return false; - Handle(HYDROData_Zone) aZone = Handle(HYDROData_Zone)::DownCast( theObj ); + Handle(HYDROData_ImmersibleZone) aZone = + Handle(HYDROData_ImmersibleZone)::DownCast( theObj ); if ( aZone.IsNull() ) return false; @@ -57,7 +58,8 @@ bool HYDROGUI_PrsZoneDriver::Update( const Handle(HYDROData_Object)& theObj, aPrsZone->setFillingColor( aZone->GetFillingColor() ); aPrsZone->setBorderColor( aZone->GetBorderColor() ); - aPrsZone->setPath( aZone->GetPainterPath() ); + // ouv: the method is no more + //aPrsZone->setPath( aZone->GetPainterPath() ); aPrsZone->compute();