]> Creatis software - creaContours.git/commitdiff
*** empty log message ***
authorEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Mon, 12 Oct 2009 18:35:52 +0000 (18:35 +0000)
committerEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Mon, 12 Oct 2009 18:35:52 +0000 (18:35 +0000)
CMakeLists.txt
lib/Interface_ManagerContour_NDimensions/wxInstantChooserPanel.cxx

index 8e4eec3..7f0be56 100644 (file)
@@ -11,7 +11,7 @@ PROJECT(creaContours)
 
 SET(PROJECT_MAJOR_VERSION 1)
 SET(PROJECT_MINOR_VERSION 2)
-SET(PROJECT_BUILD_VERSION 1)
+SET(PROJECT_BUILD_VERSION 2)
 
 SET(CREA_VERBOSE_CMAKE TRUE)
 
index 8f5894e..4e14484 100644 (file)
@@ -135,6 +135,7 @@ DEFINE_EVENT_TYPE( wxINSTANT_CHOOSER_CHANGE )
                int min = _lastConceptUpdated->getMinValue();
                int max = _lastConceptUpdated->getMaxValue();
                int delta = (int) (pow((double) 2,(double) _resolutionSlider->GetValue() ));
+
                int minTmp   = value - delta/2;
                int maxTmp   = value + delta/2;
                if (minTmp<min)