From fab25348f2e7c0e2f9cc68b032c8cab708a74c4f Mon Sep 17 00:00:00 2001 From: ouv Date: Thu, 27 Jul 2006 10:45:09 +0000 Subject: [PATCH] SWP12907 --- src/VISU_I/VISU_CutLines_i.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2