]> Creatis software - creaMaracasVisu.git/commitdiff
#2470 creaMaracasVisu Bug New High ShowNPoints box bbtk not compiling in windows
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Tue, 28 Oct 2014 15:39:49 +0000 (16:39 +0100)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Tue, 28 Oct 2014 15:39:49 +0000 (16:39 +0100)
bbtk/src/bbmaracasvisuShowNPoints.cxx

index 06f5f68eb37be852c364b35b3799e20b72f25d84..c0edbf2b31ea9774d7f2db40028d46eec4f0ae51 100644 (file)
@@ -349,12 +349,12 @@ void WidgetShowNPoints::InsertPoint(int x, int y, int z, std::string label)//CFT
                                dTotal.push_back (res);         
                }
                //Gets the smallest distance 
-               int small = dTotal[0];
+               int smallTMP = dTotal[0];
                for (int j = 0; j < dTotal.size(); j++)
                {
-                         if(dTotal[j]<small)
+                         if(dTotal[j]<smallTMP)
                          {
-                                         small=dTotal[j];
+                                         smallTMP=dTotal[j];
                                                pos = j+1;
                          }
                }