]> Creatis software - clitk.git/blobdiff - vv/vvToolResample.cxx
Debug RTStruct conversion with empty struc
[clitk.git] / vv / vvToolResample.cxx
index 46d54efbca948587d3f995825dade7391e9822b5..64b3768bed771352d5c70ef44ce5d5dea84c500f 100644 (file)
@@ -538,6 +538,7 @@ void vvToolResample::apply()
   // Go !
   mFilter->Update();
   mOutput = mFilter->GetOutputVVImage();
+  mOutput->GetTransform()[0]->SetMatrix(mCurrentSlicerManager->GetSlicer(0)->GetConcatenatedTransform()->GetMatrix());
   AddImage(mOutput,GetOutputFileName());
   close();
 }