From f9013c83738424015bd0bcce7f2ca72e5b782287 Mon Sep 17 00:00:00 2001
From: Cyrille Valladeau <cyrille.valladeau@c-s.fr>
Date: Tue, 14 Dec 2010 12:17:10 +0100
Subject: [PATCH] ENH : little change in appli qt

---
 Projections/otbBundleToPerfectSensor.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Projections/otbBundleToPerfectSensor.cxx b/Projections/otbBundleToPerfectSensor.cxx
index fb00c75eaa..bd069ab248 100644
--- a/Projections/otbBundleToPerfectSensor.cxx
+++ b/Projections/otbBundleToPerfectSensor.cxx
@@ -41,12 +41,12 @@ int BundleToPerfectSensor::Describe(ApplicationDescriptor* descriptor)
 {
   descriptor->SetName("BundleToSensorModel");
   descriptor->SetDescription("Using available image metadata to determine the sensor model, computes a cartographic projection of the image");
-  descriptor->AddOutputImage();
   descriptor->AddOption("DEMDirectory","Directory were to find the DEM tiles","dem",1,false,otb::ApplicationDescriptor::DirectoryName);
   descriptor->AddOption("NumStreamDivisions","Number of streaming divisions (optional)","stream",1,false,otb::ApplicationDescriptor::Integer);
   descriptor->AddOption("LocMapSpacing","Generate a coarser deformation field with the given spacing.","lmSpacing",1,false,otb::ApplicationDescriptor::Real);
   descriptor->AddOption("InputPanchro","The input panchromatic image","inP", 1,true,otb::ApplicationDescriptor::InputImage);
   descriptor->AddOption("InputXS","The input multi-spectral image","inXS", 1,true,otb::ApplicationDescriptor::InputImage);
+  descriptor->AddOutputImage();
 
   return EXIT_SUCCESS;
 }
-- 
GitLab