From: adv Date: Thu, 7 Nov 2013 13:35:59 +0000 (+0000) Subject: Temporary fix to avoid blinking of coincident zones in OCC view has been rolled back... X-Git-Tag: BR_hydro_v_0_3~32 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=848d26d1f2aa2399610aaa46613a18239e11019f;p=modules%2Fhydro.git Temporary fix to avoid blinking of coincident zones in OCC view has been rolled back because of problems with intersection (Bug #36). --- diff --git a/src/HYDROGUI/HYDROGUI_PolylineOp.cxx b/src/HYDROGUI/HYDROGUI_PolylineOp.cxx index b7384b70..83709713 100755 --- a/src/HYDROGUI/HYDROGUI_PolylineOp.cxx +++ b/src/HYDROGUI/HYDROGUI_PolylineOp.cxx @@ -45,7 +45,7 @@ #include -static int ZValueIncrement = 0; +//static int ZValueIncrement = 0; HYDROGUI_PolylineOp::HYDROGUI_PolylineOp( HYDROGUI_Module* theModule, bool theIsEdit ) : HYDROGUI_Operation( theModule ), myIsEdit(theIsEdit), myCurve(NULL), @@ -154,8 +154,8 @@ bool HYDROGUI_PolylineOp::processApply( int& theUpdateFlags, else{ aPolylineObj = Handle(HYDROData_Polyline)::DownCast( aDocument->CreateObject( KIND_POLYLINE ) ); - double aZValue = double( ++ZValueIncrement ) * 1e-2; // empiric value, to be revised - aPolylineObj->SetZValue( aZValue ); + //double aZValue = double( ++ZValueIncrement ) * 1e-2; // empiric value, to be revised + //aPolylineObj->SetZValue( aZValue ); } if( aPolylineObj.IsNull() )