Skip to content
Snippets Groups Projects
Commit 70e9dd97 authored by Manuel Grizonnet's avatar Manuel Grizonnet
Browse files

Automated merge with http://hg.orfeo-toolbox.org/OTB

parents a48b1bbe 7756abce
Branches
Tags
No related merge requests found
...@@ -149,9 +149,12 @@ void ...@@ -149,9 +149,12 @@ void
GenericRSResampleImageFilter<TInputImage, TOutputImage> GenericRSResampleImageFilter<TInputImage, TOutputImage>
::UpdateTransform() ::UpdateTransform()
{ {
m_Transform->SetOutputDictionary(this->GetInput()->GetMetaDataDictionary()); if (!m_EstimateInputRpcModel)
m_Transform->SetOutputProjectionRef(this->GetInput()->GetProjectionRef()); {
m_Transform->SetOutputKeywordList(this->GetInput()->GetImageKeywordlist()); m_Transform->SetOutputDictionary(this->GetInput()->GetMetaDataDictionary());
m_Transform->SetOutputProjectionRef(this->GetInput()->GetProjectionRef());
m_Transform->SetOutputKeywordList(this->GetInput()->GetImageKeywordlist());
}
m_Transform->InstanciateTransform(); m_Transform->InstanciateTransform();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment