From: dsarrut Date: Thu, 27 May 2010 09:32:36 +0000 (+0000) Subject: add "Render" where it is needed (not done anymore by "Update") X-Git-Tag: v1.2.0~630 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=8f1ca8e8c0ff2502324d09b989911006c73689e6;p=clitk.git add "Render" where it is needed (not done anymore by "Update") --- diff --git a/vv/vvToolBinarize.cxx b/vv/vvToolBinarize.cxx index afd07b1..0708973 100644 --- a/vv/vvToolBinarize.cxx +++ b/vv/vvToolBinarize.cxx @@ -239,7 +239,6 @@ void vvToolBinarize::UpdateSlice(int slicer,int slices) mImageContour[slicer]->Update(mThresholdSlider1->GetValue()); if (mRadioButtonLowerThan->isChecked()) mImageContourLower[slicer]->Update(mThresholdSlider2->GetValue()); - // mCurrentSlicerManager->GetSlicer(slicer)->Render(); } //------------------------------------------------------------------------------ @@ -339,7 +338,7 @@ void vvToolBinarize::valueChangedT2(double v) for(int i=0;iNumberOfSlicers(); i++) { mImageContourLower[i]->Update(v); } - // mCurrentSlicerManager->Render(); + mCurrentSlicerManager->Render(); } } //------------------------------------------------------------------------------ @@ -356,6 +355,6 @@ void vvToolBinarize::valueChangedT1(double v) for(int i=0;iNumberOfSlicers(); i++) { mImageContour[i]->Update(v); } - // mCurrentSlicerManager->Render(); + mCurrentSlicerManager->Render(); } //------------------------------------------------------------------------------