Skip to content
Snippets Groups Projects
Commit 7c470c2b authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

BUG: Incorrect channel propagation from Viewer to Widget in the case of COMPLEX_MODULUS

parent 370cb618
No related branches found
No related tags found
No related merge requests found
......@@ -1139,14 +1139,14 @@ ImageViewerBase<TPixel,TLabel>
{
m_ScrollWidget->SetViewModel(viewModel);
m_ScrollWidget->SetRedChannelIndex(m_RedChannelIndex);
m_ScrollWidget->SetRedChannelIndex(m_GreenChannelIndex);
m_ScrollWidget->SetGreenChannelIndex(m_GreenChannelIndex);
}
m_FullWidget->SetViewModel(viewModel);
m_ZoomWidget->SetViewModel(viewModel);
m_ZoomWidget->SetRedChannelIndex(m_RedChannelIndex);
m_FullWidget->SetRedChannelIndex(m_RedChannelIndex);
m_ZoomWidget->SetRedChannelIndex(m_GreenChannelIndex);
m_FullWidget->SetRedChannelIndex(m_GreenChannelIndex);
m_ZoomWidget->SetGreenChannelIndex(m_GreenChannelIndex);
m_FullWidget->SetGreenChannelIndex(m_GreenChannelIndex);
ComputeNormalizationFactors();
......@@ -1167,7 +1167,7 @@ ImageViewerBase<TPixel,TLabel>
{
m_ScrollWidget->SetViewModel(viewModel);
m_ScrollWidget->SetRedChannelIndex(m_RedChannelIndex);
m_ScrollWidget->SetRedChannelIndex(m_GreenChannelIndex);
m_ScrollWidget->SetGreenChannelIndex(m_GreenChannelIndex);
}
m_FullWidget->SetViewModel(viewModel);
m_ZoomWidget->SetViewModel(viewModel);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment