]> 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 8e4eec37db26ab1e9ea1e6d409927ae448b4081c..7f0be56e8e1f2f69b3fc6f7b3503e3993cf71d18 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 8f5894efe9e02fc06585099e3d84410ba7a86420..4e14484d72f53506ff2cc54958fa80fd9b588946 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)