ENH: refine the black color appearance when preview
Change-Id: I691cae54dea6b196695cfe721299f75ce5c1e4c7
This commit is contained in:
parent
cc9463c017
commit
a12f6ed133
|
@ -3064,8 +3064,10 @@ void GCodeViewer::refresh_render_paths(bool keep_sequential_current_first, bool
|
|||
case EViewType::ColorPrint: {
|
||||
if (path.cp_color_id >= static_cast<unsigned char>(m_tools.m_tool_colors.size()))
|
||||
color = { 0.5f, 0.5f, 0.5f, 1.0f };
|
||||
else
|
||||
else {
|
||||
color = m_tools.m_tool_colors[path.cp_color_id];
|
||||
color = adjust_color_for_rendering(color);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case EViewType::FilamentId: {
|
||||
|
|
Loading…
Reference in New Issue