From: Pablo Garzon Date: Tue, 4 Apr 2023 13:02:08 +0000 (+0200) Subject: #3504 Integer to double ShowNpoints X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=be1198bb31a1403c240cbf8a5fd367450edb17f4;p=creaMaracasVisu.git #3504 Integer to double ShowNpoints --- diff --git a/bbtk/src/bbcreaMaracasVisuShowNPoints_Tools.cxx b/bbtk/src/bbcreaMaracasVisuShowNPoints_Tools.cxx index 254ad79..2fea63d 100644 --- a/bbtk/src/bbcreaMaracasVisuShowNPoints_Tools.cxx +++ b/bbtk/src/bbcreaMaracasVisuShowNPoints_Tools.cxx @@ -343,7 +343,7 @@ void ShowNPoints_Tools::MovePatchCenter() normal.push_back(params[1]); normal.push_back(params[2]); - int direction = -3 * params[3]; + int direction = -1 * params[3]; WidgetShowNPoints* wsp = bbGetInputWidgetShowNPoints(); wsp->GetCollectionPoint(1,1, centerPoint);