fix a copy-paste typo

This commit is contained in:
Laurent Rineau 2023-10-18 15:55:56 +02:00
parent d213747c80
commit 31d79bdae5
1 changed files with 3 additions and 3 deletions

View File

@ -1109,9 +1109,9 @@ protected:
vao[VAO_COLORED_LINES].bind();
if (m_use_mono_color)
{
color.setRgbF((double)m_rays_mono_color.red()/(double)255,
(double)m_rays_mono_color.green()/(double)255,
(double)m_rays_mono_color.blue()/(double)255);
color.setRgbF((double)m_lines_mono_color.red()/(double)255,
(double)m_lines_mono_color.green()/(double)255,
(double)m_lines_mono_color.blue()/(double)255);
rendering_program_p_l.disableAttributeArray("color");
rendering_program_p_l.setAttributeValue("color",color);
}