]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Temporary fix to avoid blinking of coincident zones in OCC view has been rolled back...
authoradv <adv@opencascade.com>
Thu, 7 Nov 2013 13:35:59 +0000 (13:35 +0000)
committeradv <adv@opencascade.com>
Thu, 7 Nov 2013 13:35:59 +0000 (13:35 +0000)
src/HYDROGUI/HYDROGUI_PolylineOp.cxx

index b7384b705518ec40cac92cfbb0e7e9374c957a24..837097139053ed168f265d23ee2a390087788510 100755 (executable)
@@ -45,7 +45,7 @@
 
 #include <Precision.hxx>
 
-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() )