From 9812fe317d0a6e4ee0c1866217066318c41d5c52 Mon Sep 17 00:00:00 2001 From: Guillaume Pasero <guillaume.pasero@c-s.fr> Date: Fri, 16 Oct 2015 14:35:29 +0200 Subject: [PATCH] ENH: by default, allow usage of ITK factories to load applications (backward compat) --- .../ApplicationEngine/include/otbWrapperApplicationRegistry.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/Wrappers/ApplicationEngine/include/otbWrapperApplicationRegistry.h b/Modules/Wrappers/ApplicationEngine/include/otbWrapperApplicationRegistry.h index 0b7f4a4fe1..ca31849a22 100644 --- a/Modules/Wrappers/ApplicationEngine/include/otbWrapperApplicationRegistry.h +++ b/Modules/Wrappers/ApplicationEngine/include/otbWrapperApplicationRegistry.h @@ -59,10 +59,10 @@ public: static void AddApplicationPath(std::string path); /** Return the list of available applications */ - static std::vector<std::string> GetAvailableApplications(bool useFactory=false); + static std::vector<std::string> GetAvailableApplications(bool useFactory=true); /** Create the specified Application */ - static Application::Pointer CreateApplication(const std::string& applicationName, bool useFactory=false); + static Application::Pointer CreateApplication(const std::string& applicationName, bool useFactory=true); /** Create the specified Application (faster) * method using dynamic library name to load the right module */ -- GitLab