Commit d5ae8536 authored by Gaetano Raffaele's avatar Gaetano Raffaele
Browse files

Working on the resume option to resume segmentation after fail or abort.

parent dfa27051
......@@ -115,7 +115,7 @@ private:
MandatoryOff("memory");
AddParameter(ParameterType_Bool, "resume", "Activate resume mode");
SetDefaultParameterBool("resume", false);
SetDefaultParameterInt("resume", 0);
AddParameter(ParameterType_Int, "resume.tilerow", "Starting tile row in resume mode");
AddParameter(ParameterType_Int, "resume.tilecol", "Starting tile column in resume mode");
SetDefaultParameterInt("resume.tilerow", 0);
......@@ -235,7 +235,7 @@ private:
}
// Resume mode?
if (GetParameterBool("resume"))
if (GetParameterInt("resume"))
{
controller.SetResumingMode(GetParameterInt("resume.tilerow"),GetParameterInt("resume.tilecol"));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment