X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2FContour%2FContourCrownWidget.cxx;h=70fbc814cf1ab4f16e197b898397762a806fb981;hb=e59fe4a0a69ae0180c502e68c57faff544b935ca;hp=ba64844d8ef8dc08b5e16441471ef8e1bf7bd0b1;hpb=c5feadbb145eecf6d73f793535b7e23eb18db2cb;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/Contour/ContourCrownWidget.cxx b/lib/maracasVisuLib/src/interface/wxWindows/Contour/ContourCrownWidget.cxx index ba64844..70fbc81 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/Contour/ContourCrownWidget.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/Contour/ContourCrownWidget.cxx @@ -244,7 +244,7 @@ void wxMaracasCoutourTool::GetMinMaxPoint(int *minPoint, ) { int i; - int np = manualviewbaseecontour->GetNumberOfPoints( ); // number of control points + //int np = manualviewbaseecontour->GetNumberOfPoints( ); // number of control points // JPRx // JSTG 26-02-08 --------------------------------------------------------------------------------------- //int nps = manualviewbaseecontour->GetNumberOfPointsSpline(); // number of points in the spline @@ -567,8 +567,10 @@ void wxMaracasCoutourTool::EreaseLastContour(wxCommandEvent& event) { while(!feof(fd)) { - fscanf(fd,""); - fscanf(fd," %s %d",&firstline,&size); + fscanf(fd,""); // ?? JPRx + //fscanf(fd," %s %d",&firstline,&size); // JPRx + fscanf(fd," %s %d",firstline,&size); + _SizesC.push_back(size); for(j=0; j