From 5f090df454afc7ec25cb1db1c1006294e2fd0c3f Mon Sep 17 00:00:00 2001
From: =?utf8?q?Beno=C3=AEt=20Presles?= <benoit.presles@creatis.insa-lyon.fr>
Date: Fri, 17 Jan 2014 19:04:09 +0100
Subject: [PATCH] Back to the correct version... I think I am right...

---
 itk/clitkResampleImageWithOptionsFilter.txx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/itk/clitkResampleImageWithOptionsFilter.txx b/itk/clitkResampleImageWithOptionsFilter.txx
index 9239afc..e009e38 100644
--- a/itk/clitkResampleImageWithOptionsFilter.txx
+++ b/itk/clitkResampleImageWithOptionsFilter.txx
@@ -240,7 +240,7 @@ GenerateData()
   filter->SetTransform(m_Transform);
   filter->SetSize(m_OutputSize);
   filter->SetOutputSpacing(m_OutputSpacing);
-  filter->SetOutputOrigin(origin);
+  filter->SetOutputOrigin(m_OutputOrigin);
   filter->SetDefaultPixelValue(m_DefaultPixelValue);
   filter->SetNumberOfThreads(this->GetNumberOfThreads());
   filter->SetOutputDirection(m_OutputDirection); // <-- NEEDED if we want to keep orientation (in case of PermutAxes for example)
-- 
2.47.1