From: Eduardo DAVILA Date: Tue, 20 Sep 2022 14:10:01 +0000 (+0200) Subject: Clean code X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=9250e920f2f568c4561e73bdf0cb01f539eb2308;p=creaMaracasVisu.git Clean code --- diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualContour/manualContourModel.cpp b/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualContour/manualContourModel.cpp index d5100a0..2600a4a 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualContour/manualContourModel.cpp +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualContour/manualContourModel.cpp @@ -314,7 +314,8 @@ void manualContourModel::UpdateSpline() // virtual _cntSplineX->RemoveAllPoints(); _cntSplineY->RemoveAllPoints(); _cntSplineZ->RemoveAllPoints(); - for( i = 0; i < np; i++ ) { + for( i = 0; i < np; i++ ) + { mp = GetManualPoint(i); _cntSplineX->AddPoint( i, mp->GetX() ); _cntSplineY->AddPoint( i, mp->GetY() );