From: srit Date: Tue, 18 May 2010 08:07:52 +0000 (+0000) Subject: Fixed transform bug: update displayed extent after update X-Git-Tag: v1.2.0~655 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=1553016b153727796cc36aa6fec2730cb8fb0bd4;p=clitk.git Fixed transform bug: update displayed extent after update --- diff --git a/vv/vvToolRigidReg.cxx b/vv/vvToolRigidReg.cxx index 2473e65..907ea83 100644 --- a/vv/vvToolRigidReg.cxx +++ b/vv/vvToolRigidReg.cxx @@ -211,6 +211,7 @@ void vvToolRigidReg::SetTransform(double tX, double tY, double tZ, double aX, do for (int i=0; iNumberOfSlicers(); i++) { mCurrentSlicerManager->GetImage()->UpdateReslice(); + mCurrentSlicerManager->GetSlicer(i)->ForceUpdateDisplayExtent(); mCurrentSlicerManager->GetSlicer(i)->Render(); } }