From: srit Date: Thu, 22 Apr 2010 15:40:40 +0000 (+0000) Subject: An update was missing to have an accurate initialization of the output image after... X-Git-Tag: v1.2.0~697 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;ds=sidebyside;h=7d36da3788ca56673630491ce884c466c428171c;p=clitk.git An update was missing to have an accurate initialization of the output image after transform. --- diff --git a/common/vvImage.cxx b/common/vvImage.cxx index 7772107..cb73874 100644 --- a/common/vvImage.cxx +++ b/common/vvImage.cxx @@ -276,6 +276,7 @@ bool vvImage::IsScalarTypeInteger(int t) { void vvImage::SetTransform(vtkAbstractTransform *transform) { mVtkImageReslice->SetResliceTransform(transform); + mVtkImageReslice->Update(); } //--------------------------------------------------------------------