Salome HOME
Update Help for VISU module.
[modules/visu.git] / src / PIPELINE / VISU_CutLinesPL.cxx
index 2207f492480b66c83c80f619d8ebe9681c8043ae..eb7b71d20ddad74d8ededb0493056cebe63d392b 100644 (file)
@@ -113,6 +113,7 @@ void VISU_CutLinesPL::Update(){
   anAppendPolyData->Delete();
   //Calculate values for building of table
   vtkMath::Cross(aDir[0],aDir[1],myDirLn);
+  for (int i=0; i<3 ; i++) if(myDirLn[i]<0) myDirLn[i] = (-1)*myDirLn[i];//enk:: correction of bug Bug PAL10401
   GetBoundProject(myBoundPrjLn, aBaseBounds, myDirLn);
   VISU::Mul(myDirLn,myBoundPrjLn[0],myBasePnt);
   CorrectPnt(myBasePnt,aBaseBounds);