From 3ad9eb09cf5788be582bccbfe062c14cfcc68ebf Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Mon, 27 Jun 2022 11:40:41 +0200 Subject: [PATCH] #3486 ShowNPoints bug insert first/last point --- .../src/interface/wxWindows/widgets/ModelShowNPoints.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ModelShowNPoints.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ModelShowNPoints.cxx index f36297f..bb59af5 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ModelShowNPoints.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ModelShowNPoints.cxx @@ -160,7 +160,7 @@ int ModelShowNPoints::InsertPoint(int x, int y, int z, std::string label) } - // In open contour case + // *************** Open contour case Start ******************* if (lstPointsX.size()==2) { double cx,cy,cz,r1,r2; @@ -181,7 +181,6 @@ int ModelShowNPoints::InsertPoint(int x, int y, int z, std::string label) pos=2; } } - } if (lstPointsX.size()>2) { @@ -207,6 +206,7 @@ int ModelShowNPoints::InsertPoint(int x, int y, int z, std::string label) } } } + // *************** Open contour case End ******************* std::vector::iterator it; -- 2.47.1