From 855bb32aea5e6baf78cde0c570aede55726d2d5a Mon Sep 17 00:00:00 2001
From: "raffaele.gaetano" <raffaele.gaetano@cirad.fr>
Date: Tue, 11 Dec 2018 15:51:57 +0100
Subject: [PATCH] Working on the resume option to resume segmentation after
 fail or abort.

---
 app/otbLSGRM.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/otbLSGRM.cxx b/app/otbLSGRM.cxx
index 0e02c48..9b1cc8c 100644
--- a/app/otbLSGRM.cxx
+++ b/app/otbLSGRM.cxx
@@ -237,7 +237,7 @@ private:
 	 // Resume mode?
 	 if (GetParameterInt("resume"))
 	  {
-		controller.SetResumingMode(GetParameterInt("resume.tilerow"),GetParameterInt("resume.tilecol"));
+		controller->SetResumingMode(GetParameterInt("resume.tilerow"),GetParameterInt("resume.tilecol"));
 	  }
 
     // Run the segmentation
-- 
GitLab