]> Creatis software - clitk.git/commitdiff
Fixed transform bug: update displayed extent after update
authorsrit <srit>
Tue, 18 May 2010 08:07:52 +0000 (08:07 +0000)
committersrit <srit>
Tue, 18 May 2010 08:07:52 +0000 (08:07 +0000)
vv/vvToolRigidReg.cxx

index 2473e655b0f84e078868120dbbf93c98087e5608..907ea837a06c7222ff45e0a4a159c46c2e8ea9e0 100644 (file)
@@ -211,6 +211,7 @@ void vvToolRigidReg::SetTransform(double tX, double tY, double tZ, double aX, do
 
   for (int i=0; i<mCurrentSlicerManager->NumberOfSlicers(); i++) {
     mCurrentSlicerManager->GetImage()->UpdateReslice();
+    mCurrentSlicerManager->GetSlicer(i)->ForceUpdateDisplayExtent();
     mCurrentSlicerManager->GetSlicer(i)->Render();
   }
 }