]> Creatis software - creaMaracasVisu.git/commitdiff
#3504 Integer to double ShowNpoints
authorPablo Garzon <garzon@ei-pfe-706.creatis.insa-lyon.fr>
Tue, 4 Apr 2023 13:02:08 +0000 (15:02 +0200)
committerPablo Garzon <garzon@ei-pfe-706.creatis.insa-lyon.fr>
Tue, 4 Apr 2023 13:02:08 +0000 (15:02 +0200)
bbtk/src/bbcreaMaracasVisuShowNPoints_Tools.cxx

index 254ad790f2df48bc73ee89c30dbf0f06aca01016..2fea63d03f6632f3c2f4b1c7b1123bcaaaecfc58 100644 (file)
@@ -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);