From a00c5fd269140ac09f0a7a9b36a97bb040f62f86 Mon Sep 17 00:00:00 2001 From: Eduardo Davila Date: Mon, 12 Oct 2009 18:35:52 +0000 Subject: [PATCH] *** empty log message *** --- CMakeLists.txt | 2 +- .../wxInstantChooserPanel.cxx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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