From: mpech Date: Mon, 23 May 2011 14:58:47 +0000 (+0200) Subject: bad fix for vvToolCropImage. The seg occurs (also) on the mReducedExtent array X-Git-Tag: v1.3.0~345^2~3 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=80584ca39a63110a46cf5a0b1498ba262146cc9a;p=clitk.git bad fix for vvToolCropImage. The seg occurs (also) on the mReducedExtent array --- diff --git a/vv/vvToolCropImage.cxx b/vv/vvToolCropImage.cxx index 2030407..4386219 100644 --- a/vv/vvToolCropImage.cxx +++ b/vv/vvToolCropImage.cxx @@ -84,10 +84,10 @@ vvToolCropImage::~vvToolCropImage() //------------------------------------------------------------------------------ void vvToolCropImage::closeEvent(QCloseEvent *event) { - // Reset extends - for(int i=0; iaccept(); } @@ -117,6 +117,7 @@ void vvToolCropImage::sliderXMinValueChanged(int s) { xmaxSlider->setMinimum(xminSlider->value()); mReducedExtent[0] = xminSlider->value(); + std::cout<<"new value "<