From fd2f740de825a9d0cabb60372059977be0737c3f Mon Sep 17 00:00:00 2001
From: remi <remi.cresson@irstea.fr>
Date: Tue, 5 Mar 2019 15:00:08 +0000
Subject: [PATCH] FIX: correct a minor bug in Superimpose application

---
 Modules/Applications/AppProjection/app/otbSuperimpose.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Modules/Applications/AppProjection/app/otbSuperimpose.cxx b/Modules/Applications/AppProjection/app/otbSuperimpose.cxx
index 540bcbd10f..d59f5334c1 100644
--- a/Modules/Applications/AppProjection/app/otbSuperimpose.cxx
+++ b/Modules/Applications/AppProjection/app/otbSuperimpose.cxx
@@ -283,7 +283,7 @@ private:
       
       m_BasicResampler->SetOutputSpacing(xsSpacing);
       m_BasicResampler->SetOutputSize(size);
-      m_Resampler->SetOutputStartIndex(start);
+      m_BasicResampler->SetOutputStartIndex(start);
       m_BasicResampler->SetEdgePaddingValue(defaultValue);
 
       m_GeoImport->SetInput(m_BasicResampler->GetOutput());
-- 
GitLab