From 242634f0b2597f558667c68f16bf8e9fea01e976 Mon Sep 17 00:00:00 2001
From: Guillaume Pasero <guillaume.pasero@c-s.fr>
Date: Tue, 23 Sep 2014 16:47:46 +0200
Subject: [PATCH] BUG: Mantis-974: keep the time step independant from the
 image spacing

---
 Applications/Filtering/otbSmoothing.cxx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Applications/Filtering/otbSmoothing.cxx b/Applications/Filtering/otbSmoothing.cxx
index 313cdb6bcc..210c2f2eb7 100644
--- a/Applications/Filtering/otbSmoothing.cxx
+++ b/Applications/Filtering/otbSmoothing.cxx
@@ -194,6 +194,7 @@ private:
         perBand->GetFilter()->SetTimeStep(static_cast<double>(aniDifTimeStep));
 
         perBand->GetFilter()->SetConductanceParameter(GetParameterFloat("type.anidif.conductance"));
+        perBand->GetFilter()->SetUseImageSpacing(false);
         perBand->UpdateOutputInformation();
         
         m_FilterRef = perBand;
-- 
GitLab