From: ouv Date: Thu, 27 Jul 2006 10:45:09 +0000 (+0000) Subject: SWP12907 X-Git-Tag: Before_Merging_V3_2_0_maintainance_21Sep06~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fab25348f2e7c0e2f9cc68b032c8cab708a74c4f;p=modules%2Fvisu.git SWP12907 --- diff --git a/src/VISU_I/VISU_CutLines_i.cc b/src/VISU_I/VISU_CutLines_i.cc index 9df67004..74a569ba 100644 --- a/src/VISU_I/VISU_CutLines_i.cc +++ b/src/VISU_I/VISU_CutLines_i.cc @@ -373,7 +373,7 @@ void VISU::CutLines_i::BuildTableOfReal(SALOMEDS::SObject_ptr theSObject){ for(int i = 0; i < aNbPoints; i++){ aDataSet->GetPoint(i,aPnt); for(int j = 0; j < 3; j++) - aVect[i] = aPnt[i] - aBasePnt[i]; + aVect[j] = aPnt[j] - aBasePnt[j]; //VISU::Sub(aPnt,aBasePnt,aVect); if ( fabs(aBoundPrjLn[2]) < EPS_machine ) aDist = 0.5;