From 01934e4c0d6d38257f48edd0ef88dea0425d7307 Mon Sep 17 00:00:00 2001
From: Julien Michel <julien.michel@orfeo-toolbox.org>
Date: Mon, 2 Feb 2009 10:35:20 +0100
Subject: [PATCH] BUG: MetaDataDictionary should be copied so as to propagate
 internal value

---
 Code/BasicFilters/otbSimplifyPathFunctor.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Code/BasicFilters/otbSimplifyPathFunctor.h b/Code/BasicFilters/otbSimplifyPathFunctor.h
index ccc383e4d1..91c868b1a7 100644
--- a/Code/BasicFilters/otbSimplifyPathFunctor.h
+++ b/Code/BasicFilters/otbSimplifyPathFunctor.h
@@ -95,6 +95,7 @@ public:
       newPath->AddVertex(endIt.Value());
       beginIt=endIt;
     }
+    newPath->SetMetaDataDictionary(input->GetMetaDataDictionary());
     return newPath;
 
   }
-- 
GitLab