From 80584ca39a63110a46cf5a0b1498ba262146cc9a Mon Sep 17 00:00:00 2001 From: mpech Date: Mon, 23 May 2011 16:58:47 +0200 Subject: [PATCH] bad fix for vvToolCropImage. The seg occurs (also) on the mReducedExtent array --- vv/vvToolCropImage.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 "<