From: srit Date: Wed, 2 Mar 2011 18:33:20 +0000 (+0000) Subject: Remove useless UpdateReslice X-Git-Tag: v1.2.0~221 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=c4e997de4534d55cdd595b887258ab50bb9c69fd;p=clitk.git Remove useless UpdateReslice --- diff --git a/vv/vvImageReader.cxx b/vv/vvImageReader.cxx index 1f33fc7..d0db598 100644 --- a/vv/vvImageReader.cxx +++ b/vv/vvImageReader.cxx @@ -150,7 +150,6 @@ void vvImageReader::ReadNkiImageTransform() mImage->GetTransform()->GetMatrix()->SetElement(i,3,10*mImage->GetTransform()->GetMatrix()->GetElement(i,3)); mImage->GetTransform()->Inverse(); - mImage->UpdateReslice(); } } } @@ -170,7 +169,6 @@ void vvImageReader::ReadMatImageTransform() for(int j=0; j<4; j++) for(int i=0; i<4; i++) mImage->GetTransform()->GetMatrix()->SetElement(j,i,itkMat[j][i]); - mImage->UpdateReslice(); } } //------------------------------------------------------------------------------