From: Eduardo Davila Date: Mon, 12 Oct 2009 18:35:52 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: CREATOOLS.2-0-3~45 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=a00c5fd269140ac09f0a7a9b36a97bb040f62f86;p=creaContours.git *** empty log message *** --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 8e4eec3..7f0be56 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/lib/Interface_ManagerContour_NDimensions/wxInstantChooserPanel.cxx b/lib/Interface_ManagerContour_NDimensions/wxInstantChooserPanel.cxx index 8f5894e..4e14484 100644 --- a/lib/Interface_ManagerContour_NDimensions/wxInstantChooserPanel.cxx +++ b/lib/Interface_ManagerContour_NDimensions/wxInstantChooserPanel.cxx @@ -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