From 848d26d1f2aa2399610aaa46613a18239e11019f Mon Sep 17 00:00:00 2001 From: adv Date: Thu, 7 Nov 2013 13:35:59 +0000 Subject: [PATCH] Temporary fix to avoid blinking of coincident zones in OCC view has been rolled back because of problems with intersection (Bug #36). --- src/HYDROGUI/HYDROGUI_PolylineOp.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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() ) -- 2.39.2