From 0a89057fafd0a44a9f0ccc0edd97c27618bc72ed Mon Sep 17 00:00:00 2001
From: Cyrille Valladeau <cyrille.valladeau@c-s.fr>
Date: Thu, 5 Jan 2012 16:43:56 +0100
Subject: [PATCH] BUG: fix bug 453. In DEMConvert prefix mustn't be declared as
 Output_Role

---
 Applications/Utils/otbDEMConvert.cxx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Applications/Utils/otbDEMConvert.cxx b/Applications/Utils/otbDEMConvert.cxx
index 25170c0327..ca89f523f8 100644
--- a/Applications/Utils/otbDEMConvert.cxx
+++ b/Applications/Utils/otbDEMConvert.cxx
@@ -64,8 +64,7 @@ private:
     oss << "will be used to get the prefix (name withtout extensions) of the files to write. ";
     oss << "Three files - prefix.geom, prefix.omd and prefix.ras - will be generated.";
     SetParameterDescription("out", oss.str());
-    SetParameterRole("out", Role_Output);
-    MandatoryOn("out");
+    //MandatoryOn("out");
 
     // Doc example parameter settings
     SetDocExampleParameterValue("in", "QB_Toulouse_Ortho_Elev.tif");
-- 
GitLab