Commit f5564eee authored by Guillaume Pasero's avatar Guillaume Pasero

BUG: old code from merge error

parent 456976fc
Pipeline #2174 passed with stages
in 68 minutes and 8 seconds
......@@ -909,36 +909,6 @@ void Application::WriteOutput()
outputParam->Write();
}
}
else if (GetParameterType(key) == ParameterType_ComplexOutputImage
&& IsParameterEnabled(key) && HasValue(key) )
{
Parameter* param = GetParameterByKey(key);
ComplexOutputImageParameter* outputParam = dynamic_cast<ComplexOutputImageParameter*>(param);
if(outputParam!=nullptr)
{
outputParam->InitializeWriters();
if (useRAM)
{
outputParam->SetRAMValue(ram);
}
std::ostringstream progressId;
progressId << "Writing " << outputParam->GetFileName() << "...";
AddProcess(outputParam->GetWriter(), progressId.str());
outputParam->Write();
}
}
//xml writer parameter
else if (m_HaveOutXML && GetParameterType(key) == ParameterType_OutputProcessXML
&& IsParameterEnabled(key) && HasValue(key) )
{
Parameter* param = GetParameterByKey(key);
OutputProcessXMLParameter* outXMLParam = dynamic_cast<OutputProcessXMLParameter*>(param);
if(outXMLParam!=nullptr)
{
outXMLParam->Write(this);
}
}
}
}
......
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